summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Collocated.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-02-25 11:24:31 -0800
committerMark Spruiell <mes@zeroc.com>2009-02-25 11:24:31 -0800
commit48bdbb198746c12310473d1995addf1ec9b8e981 (patch)
tree0bdab152d446b1c2709dc9a1a044bd64a344721a /cpp/demo/Freeze/library/Collocated.cpp
parentHeader fix for gcc 4.3.x (diff)
downloadice-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.cpp2
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.