diff options
Diffstat (limited to 'cpp/test/Ice/facets/Server.cpp')
-rw-r--r-- | cpp/test/Ice/facets/Server.cpp | 6 |
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(); |