summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/objects/Client.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2015-12-29 14:42:15 -0500
committerJoe George <joe@zeroc.com>2015-12-29 14:45:23 -0500
commit6cf97628982b6a0ab7063009f92ac81b3c84e0d1 (patch)
tree8370194405d1a7a51967774fb41c0008f4d53ffc /cpp/test/Ice/objects/Client.cpp
parentFix IceBT C++11 build (diff)
downloadice-6cf97628982b6a0ab7063009f92ac81b3c84e0d1.tar.bz2
ice-6cf97628982b6a0ab7063009f92ac81b3c84e0d1.tar.xz
ice-6cf97628982b6a0ab7063009f92ac81b3c84e0d1.zip
Fix ICE-6947
Pass in-parameters for local interfaces with delegate metadata by value in C++11
Diffstat (limited to 'cpp/test/Ice/objects/Client.cpp')
-rw-r--r--cpp/test/Ice/objects/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/objects/Client.cpp b/cpp/test/Ice/objects/Client.cpp
index ec6aa28674c..9a2bf743a21 100644
--- a/cpp/test/Ice/objects/Client.cpp
+++ b/cpp/test/Ice/objects/Client.cpp
@@ -30,9 +30,9 @@ using namespace Test;
#ifdef ICE_CPP11_MAPPING
template<typename T>
-function<shared_ptr<T>(const string&)> makeFactory()
+function<shared_ptr<T>(string)> makeFactory()
{
- return [](const string&)
+ return [](string)
{
return make_shared<T>();
};