aboutsummaryrefslogtreecommitdiff
path: root/src/exporter.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-10-02 12:39:55 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-10-02 12:39:55 +0200
commit64b2cf0d2168a75e793d1e45d7518ae6c2997e89 (patch)
treebbad5126993fe4b504170713b255c3e634c45743 /src/exporter.cpp
parent0ba06d371cd775ce26806bca958ef1d2b95a12ac (diff)
parent03a692c88fd086d8bb2ad3fa4dbddb898bfd9bff (diff)
downloadayatana-indicator-display-64b2cf0d2168a75e793d1e45d7518ae6c2997e89.tar.gz
ayatana-indicator-display-64b2cf0d2168a75e793d1e45d7518ae6c2997e89.tar.bz2
ayatana-indicator-display-64b2cf0d2168a75e793d1e45d7518ae6c2997e89.zip
Merge branch 'tari01-pr/fix-cppcheck'
Attributes GH PR #60: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/60
Diffstat (limited to 'src/exporter.cpp')
-rw-r--r--src/exporter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exporter.cpp b/src/exporter.cpp
index b3d586b..2db9a01 100644
--- a/src/exporter.cpp
+++ b/src/exporter.cpp
@@ -1,5 +1,6 @@
/*
* Copyright 2014 Canonical Ltd.
+ * Copyright 2022 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include <src/exporter.h>
@@ -81,7 +83,7 @@ private:
export_actions(m_indicator);
- for (auto& profile : m_indicator->profiles())
+ for (const auto& profile : m_indicator->profiles())
export_profile(m_indicator, profile);
}