summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-07-07 12:00:06 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-07-07 12:00:06 +0200
commit2a7fd885393a22ec9518360c7d89e960135b3a7d (patch)
tree5145948e1c3e6e6ba06781a2244a428eab1b9cfb /cpp/src/Ice/OutgoingAsync.cpp
parentUpdate C# mapping with async/await (diff)
downloadice-2a7fd885393a22ec9518360c7d89e960135b3a7d.tar.bz2
ice-2a7fd885393a22ec9518360c7d89e960135b3a7d.tar.xz
ice-2a7fd885393a22ec9518360c7d89e960135b3a7d.zip
Fixed ICE-7188 - pass all std::function by value
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index c5854246715..24691b9f755 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -1115,7 +1115,7 @@ OutgoingAsync::invoke(const string& operation,
Ice::OperationMode mode,
Ice::FormatType format,
const Ice::Context& context,
- const function<void(Ice::OutputStream*)>& write)
+ function<void(Ice::OutputStream*)> write)
{
try
{