diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 13:27:23 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 13:27:23 +0100 |
commit | 3d8190f957b1820cc9dfc72818feb106560e1413 (patch) | |
tree | fe205912fc2d40228d5fdce4d64016b19bc9c1c2 /ACE/ace/DLL_Manager.h | |
parent | cfb87b202043d9f6b5532f3e3e4e431f6ced4c0b (diff) | |
download | ATCD-3d8190f957b1820cc9dfc72818feb106560e1413.tar.gz |
Instead of declaring private copy/assignment list them as deleted and added move versions also as deleted
* ACE/ace/ARGV.h:
* ACE/ace/Activation_Queue.h:
* ACE/ace/CDR_Size.h:
* ACE/ace/CDR_Stream.h:
* ACE/ace/DLL_Manager.h:
* ACE/ace/Get_Opt.h:
* ACE/ace/Log_Record.h:
* ACE/ace/Message_Queue_NT.h:
* ACE/ace/Message_Queue_Vx.h:
* ACE/ace/Method_Request.h:
* ACE/ace/Null_Mutex.h:
* ACE/ace/Object_Manager.h:
* ACE/ace/Object_Manager_Base.h:
* ACE/ace/Process.h:
* ACE/ace/Read_Buffer.h:
* ACE/ace/Select_Reactor.h:
* ACE/ace/TP_Reactor.h:
* ACE/ace/XML_Utils/XML_Error_Handler.h:
* TAO/orbsvcs/ImplRepo_Service/Activator_Loader.h:
* TAO/orbsvcs/ImplRepo_Service/Locator_Loader.h:
* TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Loader.h:
* TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.h:
* TAO/orbsvcs/orbsvcs/Notify/Event_Manager.h:
* TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h:
* TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h:
* TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.h:
* TAO/tao/CDR.h:
* TAO/tao/Connector_Registry.h:
* TAO/tao/GIOP_Fragmentation_Strategy.h:
* TAO/tao/MMAP_Allocator.h:
* TAO/tao/Nested_Upcall_Guard.h:
* TAO/tao/Null_Fragmentation_Strategy.h:
* TAO/tao/Object_Ref_Table.h:
* TAO/tao/On_Demand_Fragmentation_Strategy.h:
* TAO/tao/Policy_Manager.h:
* TAO/tao/Resource_Factory.h:
* TAO/tao/TAO_Singleton_Manager.h:
* TAO/tao/Valuetype/AbstractBase_Invocation_Adapter.h:
Diffstat (limited to 'ACE/ace/DLL_Manager.h')
-rw-r--r-- | ACE/ace/DLL_Manager.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ACE/ace/DLL_Manager.h b/ACE/ace/DLL_Manager.h index 7ab61cacf49..64612470e80 100644 --- a/ACE/ace/DLL_Manager.h +++ b/ACE/ace/DLL_Manager.h @@ -170,9 +170,10 @@ private: */ bool open_i (const ACE_TCHAR *dll_name, int open_mode, ERROR_STACK* errors); - /// Disallow copying and assignment since we don't handle them. - ACE_DLL_Handle (const ACE_DLL_Handle &); - void operator= (const ACE_DLL_Handle &); + ACE_DLL_Handle (const ACE_DLL_Handle &) = delete; + void operator= (const ACE_DLL_Handle &) = delete; + ACE_DLL_Handle (ACE_DLL_Handle &&) = delete; + void operator= (ACE_DLL_Handle &&) = delete; private: /// Keep track of how many ACE_DLL objects have a reference to this @@ -288,9 +289,10 @@ private: /// Close the singleton instance. static void close_singleton (void); - /// Disallow copying and assignment since we don't handle these. - ACE_DLL_Manager (const ACE_DLL_Manager &); - void operator= (const ACE_DLL_Manager &); + ACE_DLL_Manager (const ACE_DLL_Manager &) = delete; + void operator= (const ACE_DLL_Manager &) = delete; + ACE_DLL_Manager (ACE_DLL_Manager &&) = delete; + void operator= (ACE_DLL_Manager &&) = delete; private: /// Vector containing all loaded handle objects. |