summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/optional/TestI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-06-16 16:12:59 +0200
committerJose <jose@zeroc.com>2015-06-16 16:12:59 +0200
commit0fe91035e5d1f074c011a9489d9113cea8f17008 (patch)
tree5155aa107a49696407bc5c5a190899275bd7c9f6 /cpp/test/Ice/optional/TestI.cpp
parentFixed ICE-6594: IceGrid/replication test failure (diff)
downloadice-0fe91035e5d1f074c011a9489d9113cea8f17008.tar.bz2
ice-0fe91035e5d1f074c011a9489d9113cea8f17008.tar.xz
ice-0fe91035e5d1f074c011a9489d9113cea8f17008.zip
Fixed ICE-6602: optionals marshaling bug
Diffstat (limited to 'cpp/test/Ice/optional/TestI.cpp')
-rw-r--r--cpp/test/Ice/optional/TestI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/Ice/optional/TestI.cpp b/cpp/test/Ice/optional/TestI.cpp
index 2aeae5f70b3..6ecf7289a66 100644
--- a/cpp/test/Ice/optional/TestI.cpp
+++ b/cpp/test/Ice/optional/TestI.cpp
@@ -383,6 +383,12 @@ InitialI::returnOptionalClass(bool, Optional<OneOptionalPtr>& o, const Ice::Curr
o = new OneOptional(53);
}
+GPtr
+InitialI::opG(const GPtr& g, const Ice::Current&)
+{
+ return g;
+}
+
bool
InitialI::supportsRequiredParams(const Ice::Current&)
{