Mark ScriptSet.Has as const.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-02-23 16:20:11 +01:00
parent 3802587313
commit 428b318baf
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }