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 1048b8e6249..7a0f7e8be28 100644
--- a/cpp/src/IcePack/Server.cpp
+++ b/cpp/src/IcePack/Server.cpp
@@ -95,7 +95,7 @@ Server::run(int argc, char* argv[])
if (adminEndpoints.length() != 0)
{
ObjectAdapterPtr adminAdapter = communicator()->createObjectAdapter("Admin");
- adminAdapter->add(admin, "admin");
+ adminAdapter->add(admin, stringToIdentity("admin"));
adminAdapter->activate();
}