diff options
author | api.cashsq.com <admin@api.cashsq.com> | 2014-01-11 14:20:36 +0100 |
---|---|---|
committer | api.cashsq.com <admin@api.cashsq.com> | 2014-01-11 14:20:36 +0100 |
commit | 5b6fa9589fe61c4ff031f62e822044979c2a46fd (patch) | |
tree | 3ebd47bcf6cff73d68777a7e2744b5020cc5f2d4 /include | |
parent | 3626372cc9cd23c87ddbd54689699bd60e252ad5 (diff) |
fix exception declaration
Diffstat (limited to 'include')
-rw-r--r-- | include/exception.h | 2 | ||||
-rw-r--r-- | include/origexception.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/exception.h b/include/exception.h index 061c106..429b2cf 100644 --- a/include/exception.h +++ b/include/exception.h @@ -42,7 +42,7 @@ public: /** * Destructor */ - virtual ~Exception() + virtual ~Exception() throw() { } diff --git a/include/origexception.h b/include/origexception.h index bce0945..ca59e7f 100644 --- a/include/origexception.h +++ b/include/origexception.h @@ -47,7 +47,7 @@ public: /** * Destructor */ - virtual ~OrigException(); + virtual ~OrigException() throw(); /** * Restore the exception - because the exception was not handled by C++ code @@ -60,4 +60,3 @@ public: * End of namespace */ } - |