[Libreoffice-commits] .: salhelper/inc
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Feb 23 08:28:46 PST 2012
salhelper/inc/salhelper/thread.hxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit c06f9327ba3edd627bc761655870d906937a3a36
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Feb 23 17:28:38 2012 +0100
Fix MSVC build
diff --git a/salhelper/inc/salhelper/thread.hxx b/salhelper/inc/salhelper/thread.hxx
index 619ac44..84d3732 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); }
More information about the Libreoffice-commits
mailing list