mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 19:55:51 +00:00
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;
|
return msg;
|
||||||
}
|
}
|
||||||
void Clear() { m_list.clear(); }
|
void Clear() { m_list.clear(); }
|
||||||
operator bool() const { return m_list.size() != 0; }
|
explicit operator bool() const { return !m_list.empty(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
Loading…
x
Reference in New Issue
Block a user