summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.cpp')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.cpp b/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.cpp
index 1c1fc13eaf6..992ba37ed74 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.cpp
@@ -39,14 +39,12 @@ FooServantList::create_and_activate(PortableServer::POA_ptr poa
PortableServer::ObjectId_var id =
PortableServer::string_to_ObjectId(servant_name.c_str());
- poa->activate_object_with_id(id.in(),
- this->servants_[i].in()
+ poa->activate_object_with_id(id.in(),
+ this->servants_[i].in()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
CORBA::Object_var obj = poa->id_to_reference(id.in()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
if (CORBA::is_nil(obj.in()))
{
@@ -56,10 +54,9 @@ FooServantList::create_and_activate(PortableServer::POA_ptr poa
ACE_THROW (TestException());
}
- CORBA::String_var ior
- = this->orb_->object_to_string(obj.in()
+ CORBA::String_var ior
+ = this->orb_->object_to_string(obj.in()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
ACE_CString filename = servant_name + ".ior";
FILE* ior_file = ACE_OS::fopen(filename.c_str(), "w");
@@ -79,7 +76,7 @@ FooServantList::create_and_activate(PortableServer::POA_ptr poa
void
-FooServantList::client_done(ACE_ENV_SINGLE_ARG_DECL)
+FooServantList::client_done(void)
{
unsigned num_left;
@@ -94,6 +91,6 @@ FooServantList::client_done(ACE_ENV_SINGLE_ARG_DECL)
{
ACE_ERROR((LM_ERROR, "(%P|%t)FooServantList::client_done: "
"failed to create orb shutdown thread.\n"));
- }
+ }
}
}