diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-12-15 20:28:09 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-12-15 20:28:09 -0500 |
commit | 308f4f33a9184bb37787992aa66975d105d56fda (patch) | |
tree | 79531403253aa4615ab5247fd79d1a4a03a03480 /cpp/include/Ice/Exception.h | |
parent | New C++ Slice/clash test (diff) | |
download | ice-308f4f33a9184bb37787992aa66975d105d56fda.tar.bz2 ice-308f4f33a9184bb37787992aa66975d105d56fda.tar.xz ice-308f4f33a9184bb37787992aa66975d105d56fda.zip |
Fixed deprecated warning and other warnings with clang
Diffstat (limited to 'cpp/include/Ice/Exception.h')
-rw-r--r-- | cpp/include/Ice/Exception.h | 6 |
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(); |