diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-08-04 16:52:11 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-08-04 16:52:11 -0400 |
commit | 124017bfb9469d9c081c92acee12b4eac9304758 (patch) | |
tree | e66cf548380f8d722cefd68fb26eae399e08b9d1 /cpp/src/Ice/CommunicatorI.h | |
parent | Update UWP test certificate (diff) | |
download | ice-124017bfb9469d9c081c92acee12b4eac9304758.tar.bz2 ice-124017bfb9469d9c081c92acee12b4eac9304758.tar.xz ice-124017bfb9469d9c081c92acee12b4eac9304758.zip |
Refactored shared_from_this/enable_shared_from_this
Diffstat (limited to 'cpp/src/Ice/CommunicatorI.h')
-rw-r--r-- | cpp/src/Ice/CommunicatorI.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/Ice/CommunicatorI.h b/cpp/src/Ice/CommunicatorI.h index 83c4661c316..e75037bf72b 100644 --- a/cpp/src/Ice/CommunicatorI.h +++ b/cpp/src/Ice/CommunicatorI.h @@ -23,8 +23,11 @@ namespace Ice class CommunicatorI; ICE_DEFINE_PTR(CommunicatorIPtr, CommunicatorI); -class CommunicatorI : public EnableSharedFromThis<CommunicatorI>, - public Communicator +class CommunicatorI : public Communicator +#ifdef ICE_CPP11_MAPPING + , public std::enable_shared_from_this<CommunicatorI> +#endif + { public: |