summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/bench/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/bench/Client.cpp')
-rw-r--r--cpp/demo/Freeze/bench/Client.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/cpp/demo/Freeze/bench/Client.cpp b/cpp/demo/Freeze/bench/Client.cpp
index ee7672032df..bb96e43edee 100644
--- a/cpp/demo/Freeze/bench/Client.cpp
+++ b/cpp/demo/Freeze/bench/Client.cpp
@@ -705,13 +705,6 @@ public:
destroy()
{
}
-
- void
- install(const Ice::CommunicatorPtr& communicator)
- {
- communicator->addObjectFactory(this, "::Class1");
- communicator->addObjectFactory(this, "::Class2");
- }
};
typedef IceUtil::Handle<MyFactory> MyFactoryPtr;
@@ -787,8 +780,7 @@ TestApp::run(int argc, char* argv[])
#endif
MyFactoryPtr factory = new MyFactory();
- factory->install(communicator());
-
+
cout <<"Struct1ObjectMap" << endl;
Struct1ObjectMapTest();