Bitset: Make bool() operator explicit.

This commit is contained in:
Scott Mansell
2015-10-04 01:10:11 +13:00
parent 18142eddb4
commit 5f8a67250f
2 changed files with 2 additions and 3 deletions

View File

@ -75,7 +75,7 @@ public:
void SetLevel(LogTypes::LOG_LEVELS level) { m_level = level; }
bool HasListeners() const { return m_listener_ids; }
bool HasListeners() const { return bool(m_listener_ids); }
typedef class BitSet32::Iterator iterator;
iterator begin() const { return m_listener_ids.begin(); }