diff options
Diffstat (limited to 'cpp/demo/Freeze/library/Collocated.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/Collocated.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/library/Collocated.cpp b/cpp/demo/Freeze/library/Collocated.cpp index ec8c21f82ac..285560e954d 100644 --- a/cpp/demo/Freeze/library/Collocated.cpp +++ b/cpp/demo/Freeze/library/Collocated.cpp @@ -79,7 +79,7 @@ LibraryCollocated::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. |