diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-05-04 09:00:46 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-05-17 12:09:18 +0200 |
commit | f1dde7a9245a257eac50c902b2080dcd25ba22c5 (patch) | |
tree | de0611a7a9920cc3a19de74a5f740deb5ed1c26c | |
parent | 9a605aa2479f99a088fa079ba12a9e86da165166 (diff) | |
download | ayatana-indicator-display-f1dde7a9245a257eac50c902b2080dcd25ba22c5.tar.gz ayatana-indicator-display-f1dde7a9245a257eac50c902b2080dcd25ba22c5.tar.bz2 ayatana-indicator-display-f1dde7a9245a257eac50c902b2080dcd25ba22c5.zip |
cppcheck: Fix missingOverride complaints.
-rw-r--r-- | src/indicator.h | 2 | ||||
-rw-r--r-- | src/service.h | 2 | ||||
-rw-r--r-- | tests/utils/glib-fixture.h | 2 | ||||
-rw-r--r-- | tests/utils/test-dbus-fixture.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/indicator.h b/src/indicator.h index c9ccb1e..db8c5ac 100644 --- a/src/indicator.h +++ b/src/indicator.h @@ -65,7 +65,7 @@ class SimpleProfile: public Profile { public: SimpleProfile(const char* name, const std::shared_ptr<GMenuModel>& menu): m_name(name), m_menu(menu) {} - virtual ~SimpleProfile(); + virtual ~SimpleProfile() override; std::string name() const override {return m_name;} core::Property<Header>& header() override {return m_header;} diff --git a/src/service.h b/src/service.h index da8d8ba..f134853 100644 --- a/src/service.h +++ b/src/service.h @@ -30,7 +30,7 @@ class DisplayIndicator: public Indicator { public: DisplayIndicator(); - ~DisplayIndicator(); + ~DisplayIndicator() override; const char* name() const override; GSimpleActionGroup* action_group() const override; diff --git a/tests/utils/glib-fixture.h b/tests/utils/glib-fixture.h index ccdeccd..b56654b 100644 --- a/tests/utils/glib-fixture.h +++ b/tests/utils/glib-fixture.h @@ -35,7 +35,7 @@ class GlibFixture : public ::testing::Test { public: - virtual ~GlibFixture() =default; + virtual ~GlibFixture() override =default; protected: diff --git a/tests/utils/test-dbus-fixture.h b/tests/utils/test-dbus-fixture.h index b01405a..e98a002 100644 --- a/tests/utils/test-dbus-fixture.h +++ b/tests/utils/test-dbus-fixture.h @@ -30,7 +30,7 @@ class TestDBusFixture: public GlibFixture public: explicit TestDBusFixture() {}; - virtual ~TestDBusFixture() =default; + virtual ~TestDBusFixture() override =default; explicit TestDBusFixture(const std::vector<std::string>& service_dirs_in): service_dirs(service_dirs_in) {} |