summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp')
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp
index 2d7ef27249d..c6c491c2911 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.cpp
@@ -56,20 +56,17 @@ Cubit_Server::parse_args (void)
int
Cubit_Server::init (int argc,
- char** argv
- ACE_ENV_ARG_DECL_NOT_USED ACE_ENV_SINGLE_ARG_PARAMETER)
+ char** argv)
{
// Call the init of <TAO_ORB_Manager> to initialize the ORB and
// create a child POA under the root POA.
if (this->orb_manager_.init_child_poa (argc,
argv,
- "child_poa"
- ACE_ENV_ARG_PARAMETER) == -1)
+ "child_poa") == -1)
ACE_ERROR_RETURN ((LM_ERROR,
"%p\n",
"init_child_poa"),
-1);
- ACE_CHECK_RETURN (-1);
this->argc_ = argc;
this->argv_ = argv;
@@ -89,9 +86,7 @@ Cubit_Server::init (int argc,
this->factory_id_ =
this->orb_manager_.activate_under_child_poa ("factory",
- this->factory_impl_
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (-1);
+ this->factory_impl_);
ACE_DEBUG ((LM_DEBUG,
"The IOR is: <%s>\n",
@@ -109,9 +104,9 @@ Cubit_Server::init (int argc,
}
int
-Cubit_Server::run (ACE_ENV_SINGLE_ARG_DECL)
+Cubit_Server::run (void)
{
- if (this->orb_manager_.run (ACE_ENV_SINGLE_ARG_PARAMETER) == -1)
+ if (this->orb_manager_.run () == -1)
ACE_ERROR_RETURN ((LM_ERROR,
"Cubit_Server::run"),
-1);