summaryrefslogtreecommitdiff
path: root/TAO/tests/Multiple/server.cpp
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2007-03-13 17:32:43 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2007-03-13 17:32:43 +0000
commit9102363ef607ed733105e4d5a2fea0f45ebda345 (patch)
tree5d118cb51468a6c8f5746853b905208a193b492c /TAO/tests/Multiple/server.cpp
parent94a2f8ed2925e6cd0b050c941a7e32f4f9d1636c (diff)
downloadATCD-9102363ef607ed733105e4d5a2fea0f45ebda345.tar.gz
ChangeLogTag: Tue Mar 13 18:24:27 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tests/Multiple/server.cpp')
-rw-r--r--TAO/tests/Multiple/server.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tests/Multiple/server.cpp b/TAO/tests/Multiple/server.cpp
index 01275412a9e..7ed7d823af7 100644
--- a/TAO/tests/Multiple/server.cpp
+++ b/TAO/tests/Multiple/server.cpp
@@ -33,7 +33,13 @@ int main (int argc, char *argv[])
// Create the CORBA Object that is incarnated by the
// delegated servant.
- Multiple::Bottom_var bottom = delegated_servant._this ();
+ PortableServer::ObjectId_var id =
+ poa->activate_object (&delegated_servant);
+
+ CORBA::Object_var object_act = poa->id_to_reference (id.in ());
+
+ Multiple::Bottom_var bottom =
+ Multiple::Bottom::_narrow (object_act.in ());
// Now we stringfy the object reference.
CORBA::String_var ior =