diff options
Diffstat (limited to 'tao/Environment.cpp')
-rw-r--r-- | tao/Environment.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tao/Environment.cpp b/tao/Environment.cpp index 421c9178ffe..347f302c616 100644 --- a/tao/Environment.cpp +++ b/tao/Environment.cpp @@ -56,7 +56,7 @@ CORBA::Environment::~Environment (void) this->clear (); // If previous is 0 then this is the first Environment, allocated - // with the ORB, it shouldn't try to pop because the ORB is beign + // with the ORB, it shouldn't try to pop because the ORB is being // destroyed also. if (this->previous_ != 0) TAO_ORB_Core_instance ()->default_environment (this->previous_); @@ -100,7 +100,6 @@ CORBA::Environment::clear (void) CORBA::Environment& CORBA::Environment::default_environment () { - // // If we are using native C++ exceptions the user is *not* supposed // to clear the environment every time she calls into TAO. In fact // the user is not supposed to use the environment at all! @@ -113,7 +112,6 @@ CORBA::Environment::default_environment () // This is not an issue when using the alternative C++ mapping (with // the Environment argument) because then the user is supposed to // clear the environment before calling into the ORB. - // TAO_ORB_Core_instance ()->default_environment ()->clear (); return TAO_default_environment ();; |