summaryrefslogtreecommitdiff
path: root/plugins/connman/subscription_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/connman/subscription_manager.cpp')
-rw-r--r--plugins/connman/subscription_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/connman/subscription_manager.cpp b/plugins/connman/subscription_manager.cpp
index 233fe65..8f6751f 100644
--- a/plugins/connman/subscription_manager.cpp
+++ b/plugins/connman/subscription_manager.cpp
@@ -61,7 +61,7 @@ ivi::settings::subscription_manager::subscribe(
{
std::lock_guard<std::mutex> guard(mutex_);
- result = subscriptions_.emplace(std::make_pair(object_path, 0));
+ result = subscriptions_.insert(std::make_pair(object_path, 0));
}
if (result.second) {