diff options
author | Marc Laukien <marc@zeroc.com> | 2002-01-15 22:03:55 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-01-15 22:03:55 +0000 |
commit | 7a7ee5e1f3fd91412368ec59dca3b6cd0ff2b6c9 (patch) | |
tree | b6944d0a6377b31472df354e70dada3ec5201d76 /cpp/demo/Ice/value/ValueI.cpp | |
parent | changing HashMap to Map for context param (diff) | |
download | ice-7a7ee5e1f3fd91412368ec59dca3b6cd0ff2b6c9.tar.bz2 ice-7a7ee5e1f3fd91412368ec59dca3b6cd0ff2b6c9.tar.xz ice-7a7ee5e1f3fd91412368ec59dca3b6cd0ff2b6c9.zip |
uuid fixes
Diffstat (limited to 'cpp/demo/Ice/value/ValueI.cpp')
-rw-r--r-- | cpp/demo/Ice/value/ValueI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/value/ValueI.cpp b/cpp/demo/Ice/value/ValueI.cpp index 702aabc1b99..bd7bee82dd6 100644 --- a/cpp/demo/Ice/value/ValueI.cpp +++ b/cpp/demo/Ice/value/ValueI.cpp @@ -21,12 +21,12 @@ InitialI::InitialI(const Ice::ObjectAdapterPtr& adapter) : _printer = new PrinterI; _printer->_message = "Ice rulez!"; - _printerProxy = PrinterPrx::uncheckedCast(adapter->addTemporary(_printer)); + _printerProxy = PrinterPrx::uncheckedCast(adapter->addWithUUID(_printer)); _derivedPrinter = new DerivedPrinterI; _derivedPrinter->_message = _printer->_message; _derivedPrinter->_derivedMessage = "Coming soon: the ultimate online game from MutableRealms!"; - adapter->addTemporary(_derivedPrinter); + adapter->addWithUUID(_derivedPrinter); } SimplePtr |