diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:26:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:01 +0100 |
commit | 4a2f64620370587161b5437069c2f1d9f3d702d1 (patch) | |
tree | 5dac0ae9aaff806b9abe5c120d964abb4c360bed /include/osl/thread.hxx | |
parent | 034f2e1a2ace6c05e0a9fde192f4929303754544 (diff) |
loplugin:deletedspecial
Change-Id: I646d55ee80ceeefbb3647ec64278460cc5af579f
Diffstat (limited to 'include/osl/thread.hxx')
-rw-r--r-- | include/osl/thread.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osl/thread.hxx b/include/osl/thread.hxx index 0c095a2055d9..8d9a82c2d9b5 100644 --- a/include/osl/thread.hxx +++ b/include/osl/thread.hxx @@ -46,8 +46,8 @@ extern "C" inline void SAL_CALL threadFunc( void* param); */ class Thread { - Thread( const Thread& ); - Thread& operator= ( const Thread& ); + Thread( const Thread& ) SAL_DELETED_FUNCTION; + 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 ) @@ -187,8 +187,8 @@ extern "C" inline void SAL_CALL threadFunc( void* param) class ThreadData { - ThreadData( const ThreadData& ); - ThreadData& operator= (const ThreadData& ); + ThreadData( const ThreadData& ) SAL_DELETED_FUNCTION; + ThreadData& operator= (const ThreadData& ) SAL_DELETED_FUNCTION; public: /// Create a thread specific local data key ThreadData( oslThreadKeyCallbackFunction pCallback= 0 ) |