summaryrefslogtreecommitdiffstats
path: root/logic/pathmatcher/FSTreeMatcher.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-10-11 19:56:31 +0200
committerPetr Mrázek <peterix@gmail.com>2015-10-11 19:56:31 +0200
commit457dd2e94e3c1e6cf51b7cbe264927b213d1085c (patch)
treed603f16f1fbe61504747ce972e1b3c8f005328d1 /logic/pathmatcher/FSTreeMatcher.h
parent44db72ead568fe7ce22e1999aac02fd9aac9beea (diff)
downloadMultiMC-457dd2e94e3c1e6cf51b7cbe264927b213d1085c.tar
MultiMC-457dd2e94e3c1e6cf51b7cbe264927b213d1085c.tar.gz
MultiMC-457dd2e94e3c1e6cf51b7cbe264927b213d1085c.tar.lz
MultiMC-457dd2e94e3c1e6cf51b7cbe264927b213d1085c.tar.xz
MultiMC-457dd2e94e3c1e6cf51b7cbe264927b213d1085c.zip
NOISSUE make the compiler more evil
Diffstat (limited to 'logic/pathmatcher/FSTreeMatcher.h')
-rw-r--r--logic/pathmatcher/FSTreeMatcher.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/logic/pathmatcher/FSTreeMatcher.h b/logic/pathmatcher/FSTreeMatcher.h
index f99e45c9..a5bed57c 100644
--- a/logic/pathmatcher/FSTreeMatcher.h
+++ b/logic/pathmatcher/FSTreeMatcher.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include "IPathMatcher.h"
#include <SeparatorPrefixTree.h>
#include <QRegularExpression>
@@ -10,7 +12,7 @@ public:
{
}
- virtual bool matches(const QString &string) override
+ virtual bool matches(const QString &string) const override
{
return m_fsTree.covers(string);
}