diff options
Diffstat (limited to 'TAO/tao/Environment.h')
-rw-r--r-- | TAO/tao/Environment.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/tao/Environment.h b/TAO/tao/Environment.h index d381afd7329..ef6a99c4322 100644 --- a/TAO/tao/Environment.h +++ b/TAO/tao/Environment.h @@ -74,13 +74,13 @@ namespace CORBA public: /// The default constructor. The environment will hold no /// exceptions. - Environment (); + Environment () = default; /// Copy constructor. - Environment (const Environment &ACE_TRY_ENV); + Environment (const Environment &rhs); /// Assingment. - Environment &operator=(const Environment &ACE_TRY_ENV); + Environment &operator=(const Environment &rhs); /// Destructor, release the exception. ~Environment (); @@ -135,17 +135,16 @@ namespace CORBA typedef CORBA::Environment_out _out_type; private: - /// Initialize using a well known ORB Core; this is intended for /// the bootstrapping of the ORB_Core, not for general /// consumption. Environment (TAO_ORB_Core *orb_core); /// Pointer to the exception object contained in the environment. - CORBA::Exception *exception_; + CORBA::Exception *exception_ {}; /// The previous environment on the "default environment stack". - Environment *previous_; + Environment *previous_ {}; }; template<> |