diff options
-rw-r--r-- | src/settings-live.cpp | 4 |
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)); |