Mark ScriptSet.Has as const.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3802587313
commit
428b318baf
|
@ -55,7 +55,7 @@ namespace CreatureLib::Battling {
|
||||||
_lookup.clear();
|
_lookup.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Has(const std::string& key) {
|
bool Has(const std::string& key) const {
|
||||||
auto find = _lookup.find(key);
|
auto find = _lookup.find(key);
|
||||||
return find != _lookup.end();
|
return find != _lookup.end();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue