diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-02-25 11:24:31 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-02-25 11:24:31 -0800 |
commit | 48bdbb198746c12310473d1995addf1ec9b8e981 (patch) | |
tree | 0bdab152d446b1c2709dc9a1a044bd64a344721a /cpp/demo/Freeze/library/Collocated.cpp | |
parent | Header fix for gcc 4.3.x (diff) | |
download | ice-48bdbb198746c12310473d1995addf1ec9b8e981.tar.bz2 ice-48bdbb198746c12310473d1995addf1ec9b8e981.tar.xz ice-48bdbb198746c12310473d1995addf1ec9b8e981.zip |
changing demos to use ice_staticId instead of hard-coded type ids
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. |