mirror of https://github.com/axmolengine/axmol.git
issue #4557: Adds const for `EventListener::isEnabeld`.
This commit is contained in:
parent
89048dd6bd
commit
7a5dba9eb9
|
@ -84,7 +84,7 @@ public:
|
|||
inline void setEnabled(bool enabled) { _isEnabled = enabled; };
|
||||
|
||||
/** Checks whether the listener is enabled */
|
||||
inline bool isEnabled() { return _isEnabled; };
|
||||
inline bool isEnabled() const { return _isEnabled; };
|
||||
|
||||
protected:
|
||||
|
||||
|
|
Loading…
Reference in New Issue