From 428b318baf63fa0e1a516b7ad31385c4524c3a53 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 23 Feb 2020 16:20:11 +0100 Subject: [PATCH] Mark ScriptSet.Has as const. --- src/Battling/ScriptHandling/ScriptSet.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Battling/ScriptHandling/ScriptSet.hpp b/src/Battling/ScriptHandling/ScriptSet.hpp index 503fa90..50a31ee 100644 --- a/src/Battling/ScriptHandling/ScriptSet.hpp +++ b/src/Battling/ScriptHandling/ScriptSet.hpp @@ -55,7 +55,7 @@ namespace CreatureLib::Battling { _lookup.clear(); } - bool Has(const std::string& key) { + bool Has(const std::string& key) const { auto find = _lookup.find(key); return find != _lookup.end(); }