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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user