diff options
author | Jose <jose@zeroc.com> | 2019-06-06 19:24:20 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-06 19:24:20 +0200 |
commit | 2dc0a8799e913bb37db8c5895f00f4dda920df62 (patch) | |
tree | 6dd9fe720314d92fecedb703132c5cf73082ca3f /cpp/test/Ice/operations/TestAMDI.cpp | |
parent | Do not set WindowsTargetPlatformVersion, use the default (diff) | |
download | ice-2dc0a8799e913bb37db8c5895f00f4dda920df62.tar.bz2 ice-2dc0a8799e913bb37db8c5895f00f4dda920df62.tar.xz ice-2dc0a8799e913bb37db8c5895f00f4dda920df62.zip |
Fix Incorrect generated code for class implements interface
Close #406
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/TestAMDI.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp index cea51a31519..3db268fc2c8 100644 --- a/cpp/test/Ice/operations/TestAMDI.cpp +++ b/cpp/test/Ice/operations/TestAMDI.cpp @@ -1040,6 +1040,22 @@ MyDerivedClassI::opMDict2Async(Test::StringStringD p1, response(OpMDict2MarshaledResult(p1, p1, current)); } +void +BI::opIntfAsync(function<void()> response, + function<void(std::exception_ptr)>, + const Ice::Current&) +{ + response(); +} + +void +BI::opBAsync(function<void()> response, + function<void(std::exception_ptr)>, + const Ice::Current&) +{ + response(); +} + #else class Thread_opVoid : public IceUtil::Thread @@ -1913,4 +1929,17 @@ MyDerivedClassI::opMDict2_async(const Test::AMD_MyClass_opMDict2Ptr& cb, cb->ice_response(p1,p1); } +void +BI::opIntf_async(const ::M::AMD_Intf_opIntfPtr& cb, + const ::Ice::Current&) +{ + cb->ice_response(); +} + +void +BI::opB_async(const ::M::AMD_B_opBPtr& cb, + const ::Ice::Current&) +{ + cb->ice_response(); +} #endif |