summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/echo/BlobjectI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/echo/BlobjectI.cpp')
-rw-r--r--cpp/test/Ice/echo/BlobjectI.cpp4
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);