diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Collocated/Service_Context_Manipulation/interceptors.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Collocated/Service_Context_Manipulation/interceptors.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tests/Portable_Interceptors/Collocated/Service_Context_Manipulation/interceptors.cpp b/TAO/tests/Portable_Interceptors/Collocated/Service_Context_Manipulation/interceptors.cpp index ccb493f659e..89f4e022ece 100644 --- a/TAO/tests/Portable_Interceptors/Collocated/Service_Context_Manipulation/interceptors.cpp +++ b/TAO/tests/Portable_Interceptors/Collocated/Service_Context_Manipulation/interceptors.cpp @@ -50,7 +50,8 @@ Echo_Client_Request_Interceptor::send_request ( if (CORBA::is_nil (this->orb_.in ())) { int argc = 0; - this->orb_ = CORBA::ORB_init (argc, 0, + ACE_TCHAR **argv = 0; + this->orb_ = CORBA::ORB_init (argc, argv, this->orb_id_.in ()); } @@ -110,7 +111,8 @@ Echo_Client_Request_Interceptor::receive_reply ( if (CORBA::is_nil (this->orb_.in ())) { int argc = 0; - this->orb_ = CORBA::ORB_init (argc, 0, + ACE_TCHAR **argv = 0; + this->orb_ = CORBA::ORB_init (argc, argv, this->orb_id_.in ()); } @@ -188,7 +190,8 @@ Echo_Client_Request_Interceptor::receive_exception ( if (CORBA::is_nil (this->orb_.in ())) { int argc = 0; - this->orb_ = CORBA::ORB_init (argc, 0, + ACE_TCHAR **argv = 0; + this->orb_ = CORBA::ORB_init (argc, argv, this->orb_id_.in ()); } |