From efcd653d7419d6f14274f707f47fc6f9120202fe Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 12 Nov 2018 15:54:32 -0800 Subject: std::variant: Fixup .get() usage This is just a refactor from the mapbox specific .get() interface to the common std::variant ::get<>() interface. Tested: Built and run through unit tests. Change-Id: Ic0737f632e80c9dd5b73717ec33d31f245f107db Signed-off-by: William A. Kennington III --- src/propertywatchimpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/propertywatchimpl.hpp') diff --git a/src/propertywatchimpl.hpp b/src/propertywatchimpl.hpp index 2a44abc..94d6fd2 100644 --- a/src/propertywatchimpl.hpp +++ b/src/propertywatchimpl.hpp @@ -155,7 +155,7 @@ void PropertyWatchOfType::propertiesChanged( } std::get(std::get(item->second).get()) = - p.second.template get(); + sdbusplus::message::variant_ns::get(p.second); // Invoke callback if present. this->callback(Context::SIGNAL); -- cgit v1.2.1