summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/invoke/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/invoke/Server.cpp')
-rw-r--r--cpp/test/Ice/invoke/Server.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/cpp/test/Ice/invoke/Server.cpp b/cpp/test/Ice/invoke/Server.cpp
index d1b5f2a4deb..9b2a4573df8 100644
--- a/cpp/test/Ice/invoke/Server.cpp
+++ b/cpp/test/Ice/invoke/Server.cpp
@@ -17,7 +17,7 @@ DEFINE_TEST("server")
using namespace std;
class ServantLocatorI : public Ice::ServantLocator
-{
+{
public:
ServantLocatorI(bool array, bool async)
@@ -45,7 +45,7 @@ public:
}
}
}
-
+
virtual Ice::ObjectPtr
locate(const Ice::Current&, Ice::LocalObjectPtr&)
{
@@ -99,20 +99,11 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& 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;