X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fsystemerror.h;h=c2387fad828b2de624ef502b58f6cd031a5c0666;hb=85ef592fb1eab68283b12607701e4fb9b9014630;hp=4b7493d47a5409bfb7902c12b9d997bf7b3cd5ee;hpb=d16185720fa344263367dbd50c61bfc8183d99a4;p=libs%2Fcore.git diff --git a/source/core/systemerror.h b/source/core/systemerror.h index 4b7493d..c2387fa 100644 --- a/source/core/systemerror.h +++ b/source/core/systemerror.h @@ -9,13 +9,14 @@ namespace Msp { class system_error: public std::runtime_error { private: - int code_; + int m_code; public: system_error(const std::string &, int = -1); - virtual ~system_error() throw() { } + system_error(const std::string &, const std::string &); + ~system_error() throw() override = default; - int code() const throw() { return code_; } + int code() const throw() { return m_code; } private: static std::string get_message(int);