summaryrefslogtreecommitdiff
path: root/TAO/tao/DLL_ORB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DLL_ORB.cpp')
-rw-r--r--TAO/tao/DLL_ORB.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/DLL_ORB.cpp b/TAO/tao/DLL_ORB.cpp
index cca757f2fe6..4c95981bc45 100644
--- a/TAO/tao/DLL_ORB.cpp
+++ b/TAO/tao/DLL_ORB.cpp
@@ -60,8 +60,8 @@ TAO_DLL_ORB::init (int /*argc*/, ACE_TCHAR *argv[])
// Initialize the ORB.
this->orb_ = CORBA::ORB_init (new_argc,
new_argv.argv (),
- "",
- ACE_TRY_ENV);
+ ""
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (CORBA::is_nil (this->orb_.in ()))
@@ -91,7 +91,7 @@ TAO_DLL_ORB::fini (void)
{
ACE_TRY_NEW_ENV
{
- this->orb_->destroy (ACE_TRY_ENV);
+ this->orb_->destroy (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
if (TAO_Singleton_Manager::instance ()->fini () == -1)
@@ -115,7 +115,7 @@ TAO_DLL_ORB::svc (void)
ACE_TRY_NEW_ENV
{
// Run the ORB event loop in its own thread.
- this->orb_->run (ACE_TRY_ENV);
+ this->orb_->run (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY