From c06f9327ba3edd627bc761655870d906937a3a36 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Feb 2012 17:28:38 +0100 Subject: Fix MSVC build --- salhelper/inc/salhelper/thread.hxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/salhelper/inc/salhelper/thread.hxx b/salhelper/inc/salhelper/thread.hxx index 619ac449ef17..84d37327a4df 100644 --- a/salhelper/inc/salhelper/thread.hxx +++ b/salhelper/inc/salhelper/thread.hxx @@ -73,6 +73,13 @@ public: using osl::Thread::schedule; using osl::Thread::terminate; + // While the below static member functions should arguably always be called + // with qualified (osl::Thread) names, at least MSVC still would complain + // that they are inaccessible from within derivations of salhelper::Thread: + using osl::Thread::getCurrentIdentifier; + using osl::Thread::wait; + using osl::Thread::yield; + static inline void * operator new(std::size_t size) { return SimpleReferenceObject::operator new(size); } -- cgit