mirror of https://github.com/AxioDL/metaforce.git
Console: Make isOpen() a const member function
This member function doesn't modify internal member state, so it can be turned into a const qualified member function.
This commit is contained in:
parent
78aa42032a
commit
12d6a5ce05
|
@ -108,6 +108,6 @@ public:
|
|||
void dumpLog();
|
||||
static Console* instance();
|
||||
static void RegisterLogger(Console* con);
|
||||
bool isOpen() { return m_state == State::Opened; }
|
||||
bool isOpen() const { return m_state == State::Opened; }
|
||||
};
|
||||
} // namespace hecl
|
||||
|
|
Loading…
Reference in New Issue