summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/facets/Server.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-07-17 23:53:29 +0000
committerMarc Laukien <marc@zeroc.com>2002-07-17 23:53:29 +0000
commit60f15d8532ffa9d7b727ea423f5fa7c2fec3021b (patch)
tree139ae55e07d67f043245cf604fddfe328b587eed /cpp/test/Ice/facets/Server.cpp
parentfile XMLTransform.h was initially added on branch freeze_xml. (diff)
downloadice-60f15d8532ffa9d7b727ea423f5fa7c2fec3021b.tar.bz2
ice-60f15d8532ffa9d7b727ea423f5fa7c2fec3021b.tar.xz
ice-60f15d8532ffa9d7b727ea423f5fa7c2fec3021b.zip
facet path
Diffstat (limited to 'cpp/test/Ice/facets/Server.cpp')
-rw-r--r--cpp/test/Ice/facets/Server.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/Ice/facets/Server.cpp b/cpp/test/Ice/facets/Server.cpp
index e78543578ea..7c25e743151 100644
--- a/cpp/test/Ice/facets/Server.cpp
+++ b/cpp/test/Ice/facets/Server.cpp
@@ -21,8 +21,10 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
Ice::ObjectPtr d = new DI;
adapter->add(d, Ice::stringToIdentity("d"));
d->ice_addFacet(d, "facetABCD");
- d->ice_addFacet(new FI, "facetEF");
- d->ice_addFacet(new GI(communicator), "facetG");
+ Ice::ObjectPtr f = new FI;
+ d->ice_addFacet(f, "facetEF");
+ Ice::ObjectPtr h = new HI(communicator);
+ f->ice_addFacet(h, "facetGH");
adapter->activate();
communicator->waitForShutdown();