summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/BasicStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/BasicStream.h')
-rw-r--r--cpp/include/Ice/BasicStream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Ice/BasicStream.h b/cpp/include/Ice/BasicStream.h
index 9c7adf8e3bd..bf77c57d532 100644
--- a/cpp/include/Ice/BasicStream.h
+++ b/cpp/include/Ice/BasicStream.h
@@ -806,7 +806,7 @@ public:
writeProxy(::std::static_pointer_cast<::Ice::ObjectPrx>(v));
}
- ::Ice::ObjectPrxPtr readProxy();
+ ::std::shared_ptr<::Ice::ObjectPrx> readProxy();
template<typename T, typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, T>::value>::type* = nullptr>
void read(::std::shared_ptr<T>& v)
@@ -818,7 +818,7 @@ public:
}
else
{
- v = ::std::make_shared<T>();
+ v = ::IceInternal::createProxy<T>();
v->__copyFrom(proxy);
}
}