summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-17 17:52:44 +0100
committerJose <jose@zeroc.com>2015-12-17 17:52:44 +0100
commit061e8b03290cd88b14943b30a372a28f3a7365e0 (patch)
tree0a0a2b10b9fc1f835c6ada152049d6848a92a28f /cpp/src/slice2cpp/Gen.cpp
parentFix Python Ice/slicing/objects test (diff)
downloadice-061e8b03290cd88b14943b30a372a28f3a7365e0.tar.bz2
ice-061e8b03290cd88b14943b30a372a28f3a7365e0.tar.xz
ice-061e8b03290cd88b14943b30a372a28f3a7365e0.zip
C++11 DispatchInterceptor fixes
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 9b3567b0c59..e34d25b5361 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -8255,7 +8255,7 @@ Slice::Gen::Cpp11InterfaceVisitor::visitOperation(const OperationPtr& p)
}
else
{
- C << nl << "auto inS = ::std::make_shared<::IceInternal::IncomingAsync>(__inS);";
+ C << nl << "auto inS = ::IceInternal::IncomingAsync::create(__inS);";
C << nl << "auto __exception = [inS](::std::exception_ptr e)";
C << sb;
C << nl << "try";