summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp')
-rw-r--r--TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp
index 1266c4eaff9..f7d810d91b3 100644
--- a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp
+++ b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp
@@ -34,7 +34,6 @@ MyFooServantActivator::incarnate (const PortableServer::ObjectId &oid,
ACE_THROW_SPEC ((CORBA::SystemException,
PortableServer::ForwardRequest))
{
- TAO_ENV_ARG_DEFN;
// Convert ObjectId to String.
CORBA::String_var s = PortableServer::ObjectId_to_string (oid);
@@ -47,9 +46,6 @@ MyFooServantActivator::incarnate (const PortableServer::ObjectId &oid,
else
{
ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), 0);
- //CORBA::Exception *exception = new CORBA::OBJECT_NOT_EXIST ();
- //env.exception (exception);
- //return 0;
}
}