diff options
Diffstat (limited to 'include/osl/thread.hxx')
-rw-r--r-- | include/osl/thread.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/osl/thread.hxx b/include/osl/thread.hxx index 6c2392f0da30..4708ec011386 100644 --- a/include/osl/thread.hxx +++ b/include/osl/thread.hxx @@ -51,13 +51,13 @@ class Thread Thread& operator= ( const Thread& ) SAL_DELETED_FUNCTION; public: // these are here to force memory de/allocation to sal lib. - inline static void * SAL_CALL operator new( size_t nSize ) + static void * SAL_CALL operator new( size_t nSize ) { return ::rtl_allocateMemory( nSize ); } - inline static void SAL_CALL operator delete( void * pMem ) + static void SAL_CALL operator delete( void * pMem ) { ::rtl_freeMemory( pMem ); } - inline static void * SAL_CALL operator new( size_t, void * pMem ) + static void * SAL_CALL operator new( size_t, void * pMem ) { return pMem; } - inline static void SAL_CALL operator delete( void *, void * ) + static void SAL_CALL operator delete( void *, void * ) {} Thread(): m_hThread(NULL){} @@ -148,7 +148,7 @@ public: osl_yieldThread(); } - static inline void setName(char const * name) throw () { + static void setName(char const * name) throw () { osl_setThreadName(name); } |