summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/AsyncResultF.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/AsyncResultF.h')
-rw-r--r--cpp/include/Ice/AsyncResultF.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/Ice/AsyncResultF.h b/cpp/include/Ice/AsyncResultF.h
index 1ca4d3d7469..023954fff9a 100644
--- a/cpp/include/Ice/AsyncResultF.h
+++ b/cpp/include/Ice/AsyncResultF.h
@@ -18,8 +18,13 @@ namespace Ice
{
class AsyncResult;
+
+#ifdef ICE_CPP11_MAPPING
+typedef ::std::shared_ptr<AsyncResult> AsyncResultPtr;
+#else
ICE_API IceUtil::Shared* upCast(::Ice::AsyncResult*);
typedef IceInternal::Handle<AsyncResult> AsyncResultPtr;
+#endif
}