summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/value/ValueI.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-01-15 22:03:55 +0000
committerMarc Laukien <marc@zeroc.com>2002-01-15 22:03:55 +0000
commit7a7ee5e1f3fd91412368ec59dca3b6cd0ff2b6c9 (patch)
treeb6944d0a6377b31472df354e70dada3ec5201d76 /cpp/demo/Ice/value/ValueI.cpp
parentchanging HashMap to Map for context param (diff)
downloadice-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.cpp4
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