diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-07-07 17:28:24 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-07-07 17:28:24 +0200 |
commit | 8e4713ead4275e26ef6351dc658bdfdfa2df4a90 (patch) | |
tree | c87762d7d11b5fb16d23d50f4fbd7d1fec7583e7 /cpp/test/Ice/optional/TestI.cpp | |
parent | Updated build instructions (diff) | |
download | ice-8e4713ead4275e26ef6351dc658bdfdfa2df4a90.tar.bz2 ice-8e4713ead4275e26ef6351dc658bdfdfa2df4a90.tar.xz ice-8e4713ead4275e26ef6351dc658bdfdfa2df4a90.zip |
Added test for optional object dictionary parameters
Diffstat (limited to 'cpp/test/Ice/optional/TestI.cpp')
-rw-r--r-- | cpp/test/Ice/optional/TestI.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/test/Ice/optional/TestI.cpp b/cpp/test/Ice/optional/TestI.cpp index bbf68c7bfc2..35207c1dac3 100644 --- a/cpp/test/Ice/optional/TestI.cpp +++ b/cpp/test/Ice/optional/TestI.cpp @@ -350,6 +350,13 @@ InitialI::opStringIntDict(const Optional<StringIntDict>& p1, Optional<StringIntD return p3; } +Optional<IntOneOptionalDict> +InitialI::opIntOneOptionalDict(const Optional<IntOneOptionalDict>& p1, Optional<IntOneOptionalDict>& p3, const Current&) +{ + p3 = p1; + return p3; +} + Optional<IntStringDict> InitialI::opCustomIntStringDict(const Optional<std::map<int, Util::string_view> >& p1, Optional<IntStringDict>& p3, const Current&) |