summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/Server.cpp')
-rw-r--r--cpp/demo/Freeze/library/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/library/Server.cpp b/cpp/demo/Freeze/library/Server.cpp
index 754f610e465..c9f1e05fa61 100644
--- a/cpp/demo/Freeze/library/Server.cpp
+++ b/cpp/demo/Freeze/library/Server.cpp
@@ -66,7 +66,7 @@ LibraryServer::run(int argc, char* argv[])
// Create the library, and add it to the object adapter.
//
LibraryIPtr library = new LibraryI(communicator(), _envName, "authors", evictor);
- adapter->add(library, Ice::stringToIdentity("library"));
+ adapter->add(library, communicator()->stringToIdentity("library"));
//
// Create and install a factory for books.