diff options
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-phosphor/watchdog/frb2-watchdog')
-rw-r--r-- | meta-openbmc-mods/meta-common/recipes-phosphor/watchdog/frb2-watchdog/frb2-watchdog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog/frb2-watchdog/frb2-watchdog.cpp b/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog/frb2-watchdog/frb2-watchdog.cpp index 5356e95db..792e564d9 100644 --- a/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog/frb2-watchdog/frb2-watchdog.cpp +++ b/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog/frb2-watchdog/frb2-watchdog.cpp @@ -127,8 +127,7 @@ template <typename T> void setProperty(const std::string &key, const T &val) boost::system::system_error(err).what())); } }, - wdBus, wdPath, propIntf, "Set", wdIntf, key, - sdbusplus::message::variant_ns::variant<T>(val)); + wdBus, wdPath, propIntf, "Set", wdIntf, key, std::variant<T>(val)); } catch (sdbusplus::exception::SdBusError &e) { |