summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Server.cpp')
-rw-r--r--cpp/src/IcePack/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePack/Server.cpp b/cpp/src/IcePack/Server.cpp
index 0af2b57fec3..18c350d0b54 100644
--- a/cpp/src/IcePack/Server.cpp
+++ b/cpp/src/IcePack/Server.cpp
@@ -85,7 +85,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator)
}
ObjectAdapterPtr forwardAdapter = communicator->createObjectAdapter("Forward");
- forwardAdapter->setServantLocator(forward);
+ forwardAdapter->addServantLocator(forward, "");
forwardAdapter->activate();
communicator->waitForShutdown();