summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Exception.h')
-rw-r--r--cpp/include/Ice/Exception.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/include/Ice/Exception.h b/cpp/include/Ice/Exception.h
index ee38d00688d..954d1fcaf42 100644
--- a/cpp/include/Ice/Exception.h
+++ b/cpp/include/Ice/Exception.h
@@ -35,6 +35,7 @@ public:
LocalException(const char*, int);
#ifdef ICE_CPP11_COMPILER
+ LocalException(const LocalException&) = default;
virtual ~LocalException();
#else
virtual ~LocalException() throw();
@@ -72,8 +73,8 @@ public:
protected:
- virtual void _writeImpl(::Ice::OutputStream*) const {};
- virtual void _readImpl(::Ice::InputStream*) {};
+ virtual void _writeImpl(::Ice::OutputStream*) const {}
+ virtual void _readImpl(::Ice::InputStream*) {}
};
@@ -86,6 +87,7 @@ public:
SystemException(const char*, int);
#ifdef ICE_CPP11_COMPILER
+ SystemException(const SystemException&) = default;
virtual ~SystemException();
#else
virtual ~SystemException() throw();