diff options
Diffstat (limited to 'TAO/tao/PI/ORBInitInfo.h')
-rw-r--r-- | TAO/tao/PI/ORBInitInfo.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/TAO/tao/PI/ORBInitInfo.h b/TAO/tao/PI/ORBInitInfo.h index 9f5f800645f..9e64004cea7 100644 --- a/TAO/tao/PI/ORBInitInfo.h +++ b/TAO/tao/PI/ORBInitInfo.h @@ -211,7 +211,6 @@ public: virtual const char* _interface_repository_id () const; protected: - /// Destructor is protected to enforce proper memory management /// through the reference counting mechanism. ~TAO_ORBInitInfo (); @@ -222,14 +221,10 @@ protected: void check_validity (); private: - - /// Prevent copying through the copy constructor and the assignment - /// operator. - TAO_ORBInitInfo (const TAO_ORBInitInfo &); - void operator= (const TAO_ORBInitInfo &); + TAO_ORBInitInfo (const TAO_ORBInitInfo &) = delete; + void operator= (const TAO_ORBInitInfo &) = delete; private: - /// Reference to the ORB Core. TAO_ORB_Core *orb_core_; |