]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/systemerror.h
Modernize noexcept specifiers
[libs/core.git] / source / core / systemerror.h
index c2387fad828b2de624ef502b58f6cd031a5c0666..5edbe9d5062d938e95bc7a9832fe5eea347ad5bc 100644 (file)
@@ -14,9 +14,8 @@ private:
 public:
        system_error(const std::string &, int = -1);
        system_error(const std::string &, const std::string &);
-       ~system_error() throw() override = default;
 
-       int code() const throw() { return m_code; }
+       int code() const noexcept { return m_code; }
 
 private:
        static std::string get_message(int);