From 457dd2e94e3c1e6cf51b7cbe264927b213d1085c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 11 Oct 2015 19:56:31 +0200 Subject: NOISSUE make the compiler more evil --- logic/pathmatcher/FSTreeMatcher.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'logic/pathmatcher/FSTreeMatcher.h') 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 #include @@ -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); } -- cgit v1.2.3