diff options
author | Christian Pointner <equinox@anytun.org> | 2016-01-23 22:16:14 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2016-01-23 22:16:14 +0000 |
commit | 3535471723250a31b12a128c31160342787f9dde (patch) | |
tree | f76852b797820e0ddc4c3f8d842305a2eed10d32 /src/anytunError.h | |
parent | make prefix variable more standard compliant (diff) |
fixed warning due to change of handling of exceptions inside descrutors since C++11
Diffstat (limited to 'src/anytunError.h')
-rw-r--r-- | src/anytunError.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anytunError.h b/src/anytunError.h index e31fa0e..0505497 100644 --- a/src/anytunError.h +++ b/src/anytunError.h @@ -81,7 +81,7 @@ class ErrorStringBuilder public: ErrorStringBuilder(ErrorStringBuilder const& src) { stream << src.stream.str(); }; ErrorStringBuilder() {}; - ~ErrorStringBuilder() { throw std::runtime_error(stream.str()); }; + ~ErrorStringBuilder() NOEXCEPT(false) { throw std::runtime_error(stream.str()); }; template<class T> std::ostream& operator<<(T const& value) { return stream << value; } |