diff options
Diffstat (limited to 'cpp/demo/Freeze/library/Server.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/library/Server.cpp b/cpp/demo/Freeze/library/Server.cpp index f0e10309523..28ec3a98ab3 100644 --- a/cpp/demo/Freeze/library/Server.cpp +++ b/cpp/demo/Freeze/library/Server.cpp @@ -78,7 +78,7 @@ LibraryServer::run(int argc, char* argv[]) // Create and install a factory for books. // Ice::ObjectFactoryPtr bookFactory = new BookFactory(library); - communicator()->addObjectFactory(bookFactory, "::Demo::Book"); + communicator()->addObjectFactory(bookFactory, Demo::Book::ice_staticId()); // // Everything ok, let's go. |