2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 00:27:43 +00:00

CCharacterInfo: Remove unnecessary top-level const in return value of GetAnimationIndex()

Same behavior, less code.
This commit is contained in:
Lioncash
2020-02-28 04:56:41 -05:00
parent 63cf485f27
commit 9524208cd2
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ CCharacterInfo::CCharacterInfo(CInputStream& in)
}
}
const s32 CCharacterInfo::GetAnimationIndex(std::string_view name) const {
s32 CCharacterInfo::GetAnimationIndex(std::string_view name) const {
for (const auto& pair : x20_animInfo) {
if (pair.second.second == name)
return pair.first;