summaryrefslogtreecommitdiffstats
path: root/common/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/Util.cpp')
-rw-r--r--common/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Util.cpp b/common/Util.cpp
index 6a51770067..c4140d9495 100644
--- a/common/Util.cpp
+++ b/common/Util.cpp
@@ -1138,7 +1138,7 @@ namespace Util
}
template <class Type, typename Getter>
- static bool matchRegex(const Type& set, const std::string& subject, Getter& getter)
+ static bool matchRegex(const Type& set, const std::string& subject, const Getter& getter)
{
if (set.find(subject) != set.end())
{