summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/ObjectF.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/ObjectF.h')
-rw-r--r--cpp/include/Ice/ObjectF.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Ice/ObjectF.h b/cpp/include/Ice/ObjectF.h
index 328a7f1b4c8..eb157fac899 100644
--- a/cpp/include/Ice/ObjectF.h
+++ b/cpp/include/Ice/ObjectF.h
@@ -18,10 +18,10 @@ namespace Ice
class Object;
#ifdef ICE_CPP11_MAPPING
-typedef ::std::shared_ptr<Object> ObjectPtr;
+using ObjectPtr = ::std::shared_ptr<Object>;
#else
ICE_API Object* upCast(Object*);
-typedef IceInternal::Handle< Object > ObjectPtr;
+typedef IceInternal::Handle<Object> ObjectPtr;
typedef ObjectPtr ValuePtr;
ICE_API void __patch(ObjectPtr&, const ObjectPtr&);
#endif