From 4978e06c45cfe70f5ccfc6cdce92a35ae5546198 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 27 Nov 2018 11:47:12 -0800 Subject: std::variant: Apply missing fixup This code is not compiled during the unit test run. The issue was noticed trying to integrate into a real openbmc build. Change-Id: I30b7afaf722b1a14e5ac3d5e93e13b59db48be7a Signed-off-by: William A. Kennington III --- control/functor.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'control') diff --git a/control/functor.hpp b/control/functor.hpp index e86bae7..b96f650 100644 --- a/control/functor.hpp +++ b/control/functor.hpp @@ -99,7 +99,8 @@ struct PropertyChanged return; } - _handler(zone, std::forward(it->second.template get())); + _handler(zone, std::forward( + sdbusplus::message::variant_ns::get(it->second))); } else { @@ -218,7 +219,8 @@ struct InterfaceAdded return; } - _handler(zone, std::forward(itProp->second.template get())); + _handler(zone, std::forward( + sdbusplus::message::variant_ns::get(itProp->second))); } } -- cgit v1.2.1