]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/systemerror.h
Update naming of internal variables and functions
[libs/core.git] / source / core / systemerror.h
index d0a5634cf38e04cc5d70e2df3e677c622878ed97..1662cec37f0f779f06bc6b80bab1ec36d547393c 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() = default;
 
-       int code() const throw() { return code_; }
+       int code() const throw() { return m_code; }
 
 private:
        static std::string get_message(int);