issue #4557: Adds const for `EventListener::isEnabeld`.

This commit is contained in:
James Chen 2014-04-03 16:46:16 +08:00
parent 89048dd6bd
commit 7a5dba9eb9
1 changed files with 1 additions and 1 deletions

View File

@ -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: