summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/AdvSlotExt/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/AdvSlotExt/server.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/AdvSlotExt/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/Portable_Interceptors/AdvSlotExt/server.cpp b/TAO/tests/Portable_Interceptors/AdvSlotExt/server.cpp
index 1a1256f6ad7..780cad1d12a 100644
--- a/TAO/tests/Portable_Interceptors/AdvSlotExt/server.cpp
+++ b/TAO/tests/Portable_Interceptors/AdvSlotExt/server.cpp
@@ -124,7 +124,7 @@ public:
virtual void
send_reply (ServerRequestInfo_ptr ri) throw (SystemException)
{
- CORBA::String_var op = ri->operation (ACE_ENV_SINGLE_ARG_PARAMETER);
+ CORBA::String_var op = ri->operation ();
if (ACE_OS::strcmp (op.in (), "number") != 0)
return; // Don't mess with PICurrent if not invoking test method.
@@ -181,7 +181,7 @@ public:
ACE_ERROR ((LM_ERROR,
"(%P|%t) ERROR: Could not resolve PICurrent object.\n"));
- ACE_THROW (CORBA::INTERNAL ());
+ throw CORBA::INTERNAL ();
}
ServerRequestInterceptor_var interceptor (new ReplicaController (pi_current.in ()));