diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-23 17:28:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-23 17:28:38 +0100 |
commit | c06f9327ba3edd627bc761655870d906937a3a36 (patch) | |
tree | 56bccc636a7a45911169dce78d5473304c03b40b /salhelper | |
parent | 86ffa606478d18968babe809931be65463399fbb (diff) |
Fix MSVC build
Diffstat (limited to 'salhelper')
-rw-r--r-- | salhelper/inc/salhelper/thread.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
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); } |