From 0bbb85f28b5f78a978767cc115e4f94cebd90e2a Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 15 Jun 2020 16:26:29 +0200 Subject: With C++11 define a default assignment operator to get rid of C++11 warnings lacking it * TAO/tao/CDR.h: --- TAO/tao/CDR.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h index 87a5462f93e..a0ea7524462 100644 --- a/TAO/tao/CDR.h +++ b/TAO/tao/CDR.h @@ -404,10 +404,14 @@ public: TAO_ORB_Core* orb_core = 0); /// Initialize the contents of one CDR from another, without data - /// copying and with minimimum locking overhead. + /// copying and with minimum locking overhead. TAO_InputCDR (ACE_InputCDR::Transfer_Contents rhs, TAO_ORB_Core* orb_core = 0); +#if defined (ACE_HAS_CPP11) + TAO_InputCDR& operator= (const TAO_InputCDR& rhs) = default; +#endif /* ACE_HAS_CPP11 */ + /// Destructor virtual ~TAO_InputCDR (void); -- cgit v1.2.1