diff options
Diffstat (limited to 'logic/pathmatcher/FSTreeMatcher.h')
-rw-r--r-- | logic/pathmatcher/FSTreeMatcher.h | 4 |
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); } |