diff options
author | Bernard Normier <bernard@zeroc.com> | 2017-04-07 21:41:04 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2017-04-07 21:41:04 -0400 |
commit | 5e58618ca24587f57d9b502b7342c8a7968261f3 (patch) | |
tree | 27de2449fe2d982434db0f8d69b30f118c4f5ff5 /cpp/test/Ice/echo/BlobjectI.cpp | |
parent | Minor fix to JS controller and PHP timeout test (bumped hold time) (diff) | |
download | ice-5e58618ca24587f57d9b502b7342c8a7968261f3.tar.bz2 ice-5e58618ca24587f57d9b502b7342c8a7968261f3.tar.xz ice-5e58618ca24587f57d9b502b7342c8a7968261f3.zip |
ICE-7768: fixed C++11 Blobject API
Diffstat (limited to 'cpp/test/Ice/echo/BlobjectI.cpp')
-rw-r--r-- | cpp/test/Ice/echo/BlobjectI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/echo/BlobjectI.cpp b/cpp/test/Ice/echo/BlobjectI.cpp index 894e217569c..b0c1d479ab3 100644 --- a/cpp/test/Ice/echo/BlobjectI.cpp +++ b/cpp/test/Ice/echo/BlobjectI.cpp @@ -79,7 +79,7 @@ BlobjectI::flushBatch() #ifdef ICE_CPP11_MAPPING void BlobjectI::ice_invokeAsync(std::vector<Ice::Byte> inEncaps, - std::function<void(bool, std::vector<Ice::Byte>)> response, + std::function<void(bool, const std::vector<Ice::Byte>&)> response, std::function<void(std::exception_ptr)> ex, const Ice::Current& current) { @@ -112,7 +112,7 @@ BlobjectI::ice_invokeAsync(std::vector<Ice::Byte> inEncaps, else { obj->ice_oneway()->ice_invokeAsync(current.operation, current.mode, inEncaps, - [](bool, std::vector<Ice::Byte>) { assert(0); }, + [](bool, const std::vector<Ice::Byte>&) { assert(0); }, ex, [&](bool) { response(true, vector<Ice::Byte>()); }, current.ctx); |