diff options
Diffstat (limited to 'cpp/test/Ice/operations/TestI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/TestI.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestI.cpp b/cpp/test/Ice/operations/TestI.cpp index a12e1ee1f38..09c9ab409c1 100644 --- a/cpp/test/Ice/operations/TestI.cpp +++ b/cpp/test/Ice/operations/TestI.cpp @@ -336,6 +336,18 @@ MyDerivedClassI::opStringMyEnumD(const Test::StringMyEnumD& p1, return r; } +Test::MyStructMyEnumD +MyDerivedClassI::opMyStructMyEnumD(const Test::MyStructMyEnumD& p1, + const Test::MyStructMyEnumD& p2, + Test::MyStructMyEnumD& p3, + const Ice::Current&) +{ + p3 = p1; + Test::MyStructMyEnumD r = p1; + std::set_union(p1.begin(), p1.end(), p2.begin(), p2.end(), std::inserter(r, r.end())); + return r; +} + Test::IntS MyDerivedClassI::opIntS(const Test::IntS& s, const Ice::Current&) { |