diff options
Diffstat (limited to 'ACE/ace/Semaphore.h')
-rw-r--r-- | ACE/ace/Semaphore.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/ace/Semaphore.h b/ACE/ace/Semaphore.h index 9b3c0dc1215..fc46aac8a64 100644 --- a/ACE/ace/Semaphore.h +++ b/ACE/ace/Semaphore.h @@ -4,8 +4,6 @@ /** * @file Semaphore.h * - * Moved from Synch.h. - * * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu> */ //========================================================================== @@ -165,9 +163,8 @@ protected: bool removed_; private: - // = Prevent assignment and initialization. - void operator= (const ACE_Semaphore &); - ACE_Semaphore (const ACE_Semaphore &); + void operator= (const ACE_Semaphore &) = delete; + ACE_Semaphore (const ACE_Semaphore &) = delete; }; ACE_END_VERSIONED_NAMESPACE_DECL |