diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-24 19:46:23 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-24 19:46:23 +0000 |
commit | 0fca04560d10192ee88e8e4464cc5dab4bd595bf (patch) | |
tree | 077d71fe1a28e8fb31279f58ae2a5fbfc244ccf4 /TAO/tests/Interceptors/server.cpp | |
parent | 7763126b5d1feef12953d94f66c1374390985013 (diff) | |
download | ATCD-LocalObject.tar.gz |
ChangLogTag:Mon Apr 24 14:41:38 2000 Nanbor Wang <nanbor@cs.wustl.edu>LocalObject
Diffstat (limited to 'TAO/tests/Interceptors/server.cpp')
-rw-r--r-- | TAO/tests/Interceptors/server.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tests/Interceptors/server.cpp b/TAO/tests/Interceptors/server.cpp index 2aa7967453e..cd68c29f0de 100644 --- a/TAO/tests/Interceptors/server.cpp +++ b/TAO/tests/Interceptors/server.cpp @@ -46,7 +46,7 @@ main (int argc, char *argv[]) // Installing the Echo interceptor ACE_NEW_RETURN (interceptor, - Echo_Server_Request_Interceptor (orb), + Echo_Server_Request_Interceptor (orb.in ()), -1); orb->_register_server_interceptor (interceptor); @@ -77,11 +77,12 @@ main (int argc, char *argv[]) CORBA::Object_var test_obj = root_poa->id_to_reference (id.in (), - ACE_TRY_ENV); + ACE_TRY_ENV); ACE_CHECK_RETURN (0); Test_Interceptors::Visual_var server = - Test_Interceptors::Visual::_narrow (test_obj, ACE_TRY_ENV); + Test_Interceptors::Visual::_narrow (test_obj.in (), + ACE_TRY_ENV); ACE_TRY_CHECK; CORBA::String_var ior = |