X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fsystemerror.h;h=c2387fad828b2de624ef502b58f6cd031a5c0666;hb=4ad05c650c55e3edccea887d15b26f41cdf60fb6;hp=d0a5634cf38e04cc5d70e2df3e677c622878ed97;hpb=99b9121e2158603372c7313400283b622e6754d8;p=libs%2Fcore.git diff --git a/source/core/systemerror.h b/source/core/systemerror.h index d0a5634..c2387fa 100644 --- a/source/core/systemerror.h +++ b/source/core/systemerror.h @@ -9,14 +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); system_error(const std::string &, const std::string &); - virtual ~system_error() throw() = default; + ~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);