X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.h;h=cdf5ee3a7e9706137d5c928674fdcfa278a4a0b5;hp=575184f3400b2699cf3ba078a90633550ffd9e6d;hb=3bfc22d12b893d94cbb4697a77b7cababcbbd921;hpb=7c6c92800088e8b5d8b33ef17017b595ee7efef5 diff --git a/source/core/getopt.h b/source/core/getopt.h index 575184f..cdf5ee3 100644 --- a/source/core/getopt.h +++ b/source/core/getopt.h @@ -17,9 +17,8 @@ private: public: usage_error(const std::string &w, const std::string &h = std::string()): std::runtime_error(w), m_help(h) { } - ~usage_error() throw() override = default; - const char *help() const throw() { return m_help.c_str(); } + const char *help() const noexcept { return m_help.c_str(); } };