diff options
Diffstat (limited to 'cpp/include/Ice/Object.h')
-rw-r--r-- | cpp/include/Ice/Object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/Ice/Object.h b/cpp/include/Ice/Object.h index f6a8bebb77c..027e5ae5b90 100644 --- a/cpp/include/Ice/Object.h +++ b/cpp/include/Ice/Object.h @@ -329,6 +329,10 @@ public: protected: Object() {} // This class is abstract. +#ifdef ICE_CPP11_COMPILER + Object(const Object&) = default; + Object& operator=(const Object&) = default; +#endif virtual ~Object() {} protected: |