Mark CreatureSpecies GetVariantIterator as const.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
629567a2a5
commit
d609d5ca53
|
@ -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; }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue