summaryrefslogtreecommitdiffstats
path: root/src/propertywatchimpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/propertywatchimpl.hpp')
-rw-r--r--src/propertywatchimpl.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/propertywatchimpl.hpp b/src/propertywatchimpl.hpp
index 43875b9..9fe57d5 100644
--- a/src/propertywatchimpl.hpp
+++ b/src/propertywatchimpl.hpp
@@ -146,7 +146,8 @@ void PropertyWatchOfType<T, DBusInterfaceType>::propertiesChanged(
continue;
}
- std::get<2>(item->second).get() = p.second.template get<T>();
+ std::get<0>(std::get<2>(item->second).get()) =
+ p.second.template get<T>();
// Invoke callback if present.
this->callback(Context::SIGNAL);
OpenPOWER on IntegriCloud