mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #225 from lioncash/bool
CArchitectureQueue: Make operator bool explicit
This commit is contained in:
commit
70c60ecf2f
|
@ -16,7 +16,7 @@ public:
|
|||
return msg;
|
||||
}
|
||||
void Clear() { m_list.clear(); }
|
||||
operator bool() const { return m_list.size() != 0; }
|
||||
explicit operator bool() const { return !m_list.empty(); }
|
||||
};
|
||||
|
||||
} // namespace urde
|
||||
|
|
Loading…
Reference in New Issue