summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/value/ValueI.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2012-11-20 10:57:44 -0330
committerDwayne Boone <dwayne@zeroc.com>2012-11-20 10:57:44 -0330
commit4c5255c1ab05da2a775f9e01b2da2143741df3d2 (patch)
tree502e839455de10c62c500612159425a6964fdfdd /cpp/demo/Ice/value/ValueI.cpp
parentICE-4965: added Python Ice/metrics demo (diff)
downloadice-4c5255c1ab05da2a775f9e01b2da2143741df3d2.tar.bz2
ice-4c5255c1ab05da2a775f9e01b2da2143741df3d2.tar.xz
ice-4c5255c1ab05da2a775f9e01b2da2143741df3d2.zip
ICE-4963 added example of "preserve-slice" to value demo
Diffstat (limited to 'cpp/demo/Ice/value/ValueI.cpp')
-rw-r--r--cpp/demo/Ice/value/ValueI.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/demo/Ice/value/ValueI.cpp b/cpp/demo/Ice/value/ValueI.cpp
index 032b264982c..151eca338f4 100644
--- a/cpp/demo/Ice/value/ValueI.cpp
+++ b/cpp/demo/Ice/value/ValueI.cpp
@@ -44,6 +44,13 @@ InitialI::getDerivedPrinter(const Ice::Current&)
return _derivedPrinter;
}
+PrinterPtr
+InitialI::updatePrinterMessage(const PrinterPtr& printer, const Ice::Current&)
+{
+ printer->message = "a modified message 4 u";
+ return printer;
+}
+
void
InitialI::throwDerivedPrinter(const Ice::Current&)
{