2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:04:56 +00:00

Merge pull request #225 from lioncash/bool

CArchitectureQueue: Make operator bool explicit
This commit is contained in:
2020-03-15 19:45:22 -04:00
committed by GitHub

View File

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