Mark CreatureSpecies GetVariantIterator as const.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-02-15 19:35:56 +01:00
parent 629567a2a5
commit d609d5ca53
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ namespace CreatureLib::Library {
void SetVariant(const std::string& name, const SpeciesVariant* variant);
const std::unordered_map<std::string, const SpeciesVariant*>& GetVariantsIterator() { return _variants; }
const std::unordered_map<std::string, const SpeciesVariant*>& GetVariantsIterator() const { return _variants; }
};
}