Remove const from class variables

It prohibits copy construction, copy assignment and move semantics.
This commit is contained in:
Chocobo1
2020-04-29 21:15:08 +08:00
parent 21581141f6
commit 6d167e9a28
3 changed files with 5 additions and 5 deletions

View File

@@ -47,5 +47,5 @@ public:
APIErrorType type() const;
private:
const APIErrorType m_type;
APIErrorType m_type;
};