diff options
Diffstat (limited to 'src/lib/utils/exceptn.h')
-rw-r--r-- | src/lib/utils/exceptn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/exceptn.h b/src/lib/utils/exceptn.h index c9b45f916..7ac32288d 100644 --- a/src/lib/utils/exceptn.h +++ b/src/lib/utils/exceptn.h @@ -11,7 +11,6 @@ #include <botan/types.h> #include <botan/parsing.h> #include <exception> -#include <stdexcept> #include <string> namespace Botan { @@ -24,7 +23,8 @@ class BOTAN_DLL Exception : public std::exception public: Exception(const std::string& what) : m_what(what) {} Exception(const char* prefix, const std::string& what) : m_what(std::string(prefix) + " " + what) {} - const char* what() const override { return m_what.c_str(); } + //const char* what() const override BOTAN_NOEXCEPT { return m_what.c_str(); } + const char* what() const BOTAN_NOEXCEPT override { return m_what.c_str(); } private: std::string m_what; }; |