From d1f7136481a286e3b363b5cb12631fe7db04ecb4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 14 Aug 2020 20:28:30 +0000 Subject: cppcheck: Add several missing override statements to make cppcheck happy (which is one of our unit tests). --- tests/unit/adbd-client-test.cpp | 2 +- tests/unit/rotation-lock-test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/unit/adbd-client-test.cpp b/tests/unit/adbd-client-test.cpp index d1ce740..9b5f1b3 100644 --- a/tests/unit/adbd-client-test.cpp +++ b/tests/unit/adbd-client-test.cpp @@ -38,7 +38,7 @@ protected: std::shared_ptr m_tmpdir; - void SetUp() + void SetUp() override { super::SetUp(); diff --git a/tests/unit/rotation-lock-test.cpp b/tests/unit/rotation-lock-test.cpp index b9630b5..a5a6f6c 100644 --- a/tests/unit/rotation-lock-test.cpp +++ b/tests/unit/rotation-lock-test.cpp @@ -28,12 +28,12 @@ private: protected: - void SetUp() + void SetUp() override { super::SetUp(); } - void TearDown() + void TearDown() override { super::TearDown(); } -- cgit v1.2.3