diff options
Diffstat (limited to 'cpp/test/Ice/inheritance/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/inheritance/Collocated.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/cpp/test/Ice/inheritance/Collocated.cpp b/cpp/test/Ice/inheritance/Collocated.cpp index aa3065f4dc3..4948c224464 100644 --- a/cpp/test/Ice/inheritance/Collocated.cpp +++ b/cpp/test/Ice/inheritance/Collocated.cpp @@ -23,27 +23,18 @@ run(int, char**, const Ice::CommunicatorPtr& communicator) Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new InitialI(adapter); adapter->add(object, communicator->stringToIdentity("initial")); - + InitialPrx allTests(const Ice::CommunicatorPtr&); allTests(communicator); return EXIT_SUCCESS; } -#ifdef ICE_STATIC_LIBS -extern "C" -{ - -Ice::Plugin* createIceSSL(const Ice::CommunicatorPtr&, const string&, const Ice::StringSeq&); - -} -#endif - int main(int argc, char* argv[]) { #ifdef ICE_STATIC_LIBS - Ice::registerPluginFactory("IceSSL", createIceSSL, true); + Ice::registerIceSSL(); #endif int status; Ice::CommunicatorPtr communicator; |