summaryrefslogtreecommitdiff
path: root/TAO/tao/Object_KeyC.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2019-09-13 13:36:39 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2019-09-13 13:36:39 +0200
commit8f4e07f9ce98ef3001b63cabf88812b5f4562170 (patch)
tree1a9f75ff954f61c1ab5c9fd09c5fda97d6136eb7 /TAO/tao/Object_KeyC.h
parent39aeb39df2db97ca26a55d102cf65703b1bfb868 (diff)
downloadATCD-8f4e07f9ce98ef3001b63cabf88812b5f4562170.tar.gz
No need to generate a copy constructor, the compile will generate one, fixes warnings with gcc9. When we have C++11 we can use the =default to indicate that the compiler generates one
* TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp: * TAO/TAO_IDL/be/be_visitor_sequence/sequence_cs.cpp: * TAO/tao/Object_KeyC.cpp: * TAO/tao/Object_KeyC.h:
Diffstat (limited to 'TAO/tao/Object_KeyC.h')
-rw-r--r--TAO/tao/Object_KeyC.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tao/Object_KeyC.h b/TAO/tao/Object_KeyC.h
index f5523bf3b07..4224046edd5 100644
--- a/TAO/tao/Object_KeyC.h
+++ b/TAO/tao/Object_KeyC.h
@@ -92,7 +92,12 @@ namespace TAO
CORBA::Octet* buffer,
CORBA::Boolean release = false
);
- ObjectKey (const ObjectKey &);
+#if defined (ACE_HAS_CPP11)
+ ObjectKey (const ObjectKey &) = default;
+ ObjectKey (ObjectKey &&) = default;
+ ObjectKey& operator= (const ObjectKey &) = default;
+ ObjectKey& operator= (ObjectKey &&) = default;
+#endif /* ACE_HAS_CPP11 */
~ObjectKey (void);
typedef ObjectKey_var _var_type;