aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-05-04 09:00:46 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-05-17 12:09:18 +0200
commitf1dde7a9245a257eac50c902b2080dcd25ba22c5 (patch)
treede0611a7a9920cc3a19de74a5f740deb5ed1c26c /src
parent9a605aa2479f99a088fa079ba12a9e86da165166 (diff)
downloadayatana-indicator-display-f1dde7a9245a257eac50c902b2080dcd25ba22c5.tar.gz
ayatana-indicator-display-f1dde7a9245a257eac50c902b2080dcd25ba22c5.tar.bz2
ayatana-indicator-display-f1dde7a9245a257eac50c902b2080dcd25ba22c5.zip
cppcheck: Fix missingOverride complaints.
Diffstat (limited to 'src')
-rw-r--r--src/indicator.h2
-rw-r--r--src/service.h2
2 files changed, 2 insertions, 2 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;