2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

CObjectList: Make IsQualified() a const member function

None of the implementations modify object instance state, so this can be
made const qualified.
This commit is contained in:
Lioncash
2020-03-06 04:36:24 -05:00
parent 2f9dd38bbe
commit 80e2e97dc4
4 changed files with 21 additions and 21 deletions

View File

@@ -91,6 +91,6 @@ CEntity* CObjectList::GetValidObjectById(TUniqueId uid) {
return ent.entity;
}
bool CObjectList::IsQualified(const CEntity&) { return true; }
bool CObjectList::IsQualified(const CEntity&) const { return true; }
} // namespace urde