]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/systemerror.h
Rewrite the hash functions to be more generic
[libs/core.git] / source / core / systemerror.h
index c6b516af9f5dddba7d435a6d02408a9f68820f0e..c2387fad828b2de624ef502b58f6cd031a5c0666 100644 (file)
@@ -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() { }
+       ~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);