diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2020-05-14 01:38:24 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2020-05-14 06:15:18 +0300 |
commit | 19bd78d9b79085526fd520d8f5c020905db1122a (patch) | |
tree | e9f467974303a9ad31a22f2c1e554407c124d733 /redfish-core/lib/sensors.hpp | |
parent | 8d78b7a9f5fbca338a5867d5dd4fa83890d79bc7 (diff) | |
download | bmcweb-19bd78d9b79085526fd520d8f5c020905db1122a.tar.xz |
sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia5d0845741f1d8d4bc6fd227c6d2e6f3a8d42b2e
Diffstat (limited to 'redfish-core/lib/sensors.hpp')
-rw-r--r-- | redfish-core/lib/sensors.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp index 39a815a54c..b158c78829 100644 --- a/redfish-core/lib/sensors.hpp +++ b/redfish-core/lib/sensors.hpp @@ -2712,8 +2712,7 @@ void setSensorsOverride( item.second, item.first, "org.freedesktop.DBus.Properties", "Set", "xyz.openbmc_project.Sensor.Value", "Value", - sdbusplus::message::variant<double>( - iterator->second.first)); + std::variant<double>(iterator->second.first)); } }; // Get object with connection for the given sensor name |