2
0
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:
Luke Street 2020-03-15 19:45:22 -04:00 committed by GitHub
commit 70c60ecf2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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