From e47f06ff8906506711e41f1755afe4e547aaa4c8 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Mon, 20 Feb 2017 08:37:10 -0500 Subject: [PATCH] fix a few -Wsuggest-override warnings --- src/filter/autotests/filteractionwithaddresstest.cpp | 4 ++-- src/filter/autotests/filteractionwithurltest.cpp | 4 ++-- src/search/autotests/searchruletest.cpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/filter/autotests/filteractionwithaddresstest.cpp b/src/filter/autotests/filteractionwithaddresstest.cpp index 2283a3e..07d3ca0 100644 --- a/src/filter/autotests/filteractionwithaddresstest.cpp +++ b/src/filter/autotests/filteractionwithaddresstest.cpp @@ -28,12 +28,12 @@ public: { } - FilterAction::ReturnCode process(MailCommon::ItemContext &, bool) const + FilterAction::ReturnCode process(MailCommon::ItemContext &, bool) const Q_DECL_OVERRIDE { return GoOn; } - MailCommon::SearchRule::RequiredPart requiredPart() const + MailCommon::SearchRule::RequiredPart requiredPart() const Q_DECL_OVERRIDE { return MailCommon::SearchRule::CompleteMessage; } diff --git a/src/filter/autotests/filteractionwithurltest.cpp b/src/filter/autotests/filteractionwithurltest.cpp index 122ddf7..40b8a16 100644 --- a/src/filter/autotests/filteractionwithurltest.cpp +++ b/src/filter/autotests/filteractionwithurltest.cpp @@ -29,12 +29,12 @@ public: { } - FilterAction::ReturnCode process(MailCommon::ItemContext &, bool) const + FilterAction::ReturnCode process(MailCommon::ItemContext &, bool) const Q_DECL_OVERRIDE { return GoOn; } - MailCommon::SearchRule::RequiredPart requiredPart() const + MailCommon::SearchRule::RequiredPart requiredPart() const Q_DECL_OVERRIDE { return MailCommon::SearchRule::CompleteMessage; } diff --git a/src/search/autotests/searchruletest.cpp b/src/search/autotests/searchruletest.cpp index 66ba661..65c9ea8 100644 --- a/src/search/autotests/searchruletest.cpp +++ b/src/search/autotests/searchruletest.cpp @@ -29,18 +29,18 @@ public: { } - bool matches(const Akonadi::Item &item) const + bool matches(const Akonadi::Item &item) const Q_DECL_OVERRIDE { Q_UNUSED(item); return false; } - bool isEmpty() const + bool isEmpty() const Q_DECL_OVERRIDE { return false; } - MailCommon::SearchRule::RequiredPart requiredPart() const + MailCommon::SearchRule::RequiredPart requiredPart() const Q_DECL_OVERRIDE { return MailCommon::SearchRule::CompleteMessage; }