diff options
Diffstat (limited to 'fastos')
-rw-r--r-- | fastos/src/vespa/fastos/thread.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fastos/src/vespa/fastos/thread.h b/fastos/src/vespa/fastos/thread.h index 6eba3470176..31a5fce32fa 100644 --- a/fastos/src/vespa/fastos/thread.h +++ b/fastos/src/vespa/fastos/thread.h @@ -461,15 +461,13 @@ public: */ class FastOS_Runnable { -private: - FastOS_Runnable(const FastOS_Runnable&); - FastOS_Runnable& operator=(const FastOS_Runnable&); - protected: friend class FastOS_ThreadInterface; FastOS_ThreadInterface *_thread; public: + FastOS_Runnable(const FastOS_Runnable&) = delete; + FastOS_Runnable& operator=(const FastOS_Runnable&) = delete; FastOS_Runnable(); virtual ~FastOS_Runnable(); |