diff options
-rw-r--r-- | control/functor.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
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<T>(it->second.template get<T>())); + _handler(zone, std::forward<T>( + sdbusplus::message::variant_ns::get<T>(it->second))); } else { @@ -218,7 +219,8 @@ struct InterfaceAdded return; } - _handler(zone, std::forward<T>(itProp->second.template get<T>())); + _handler(zone, std::forward<T>( + sdbusplus::message::variant_ns::get<T>(itProp->second))); } } |