X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fsystemerror.h;h=1662cec37f0f779f06bc6b80bab1ec36d547393c;hb=5763dd6e8089c97699cbcbd221afb7fe1841bcdd;hp=c6b516af9f5dddba7d435a6d02408a9f68820f0e;hpb=20e0f6744200e48c776d11db681ecab2fb2baa35;p=libs%2Fcore.git diff --git a/source/core/systemerror.h b/source/core/systemerror.h index c6b516a..1662cec 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() { } + virtual ~system_error() throw() = default; - int code() const throw() { return code_; } + int code() const throw() { return m_code; } private: static std::string get_message(int);