aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-02-03 14:25:19 -0600
committerRobert Tari <robert@tari.in>2021-07-01 02:16:58 +0200
commitb6f3a8d8e4db3f786ec35322dff0724cfc74a2f4 (patch)
treea8326738d1793e1dc698dd803085be10f4e6a1d0 /src
parent277352c1051bca0b1bca266448947d04ac57c740 (diff)
downloadayatana-indicator-datetime-b6f3a8d8e4db3f786ec35322dff0724cfc74a2f4.tar.gz
ayatana-indicator-datetime-b6f3a8d8e4db3f786ec35322dff0724cfc74a2f4.tar.bz2
ayatana-indicator-datetime-b6f3a8d8e4db3f786ec35322dff0724cfc74a2f4.zip
in settings-live.cpp, use std::string instead of auto to make g++ 4.9.2 happy on vivid
Diffstat (limited to 'src')
-rw-r--r--src/settings-live.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings-live.cpp b/src/settings-live.cpp
index e63bcbe..6504d7d 100644
--- a/src/settings-live.cpp
+++ b/src/settings-live.cpp
@@ -82,8 +82,8 @@ LiveSettings::LiveSettings(): m_settings(g_settings_new(SETTINGS_INTERFACE))
GVariantBuilder builder;
g_variant_builder_init(&builder, G_VARIANT_TYPE("a(ss)"));
for(const auto& app : value){
- const auto& pkgname {app.first};
- const auto& appname {app.second};
+ const std::string& pkgname {app.first};
+ const std::string& appname {app.second};
g_variant_builder_add(&builder, "(ss)", pkgname.c_str(), appname.c_str());
}
g_settings_set_value(m_settings_cunh, SETTINGS_CUNH_BLACKLIST_S, g_variant_builder_end(&builder));