summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index 55f396200e1..bc7727cd933 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -52,8 +52,8 @@ IceInternal::OutgoingAsync::__setup(const ConnectionPtr& connection, const Refer
_instance = ref->instance;
delete _is;
delete _os;
- _is = new BasicStream(_instance);
- _os = new BasicStream(_instance);
+ _is = new BasicStream(_instance.get());
+ _os = new BasicStream(_instance.get());
_connection->prepareRequest(_os);