]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/getopt.h
Modernize noexcept specifiers
[libs/core.git] / source / core / getopt.h
index 575184f3400b2699cf3ba078a90633550ffd9e6d..cdf5ee3a7e9706137d5c928674fdcfa278a4a0b5 100644 (file)
@@ -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(); }
 };