sdbusplus: replace message::variant with std::variant

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia5d0845741f1d8d4bc6fd227c6d2e6f3a8d42b2e
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp
index 39a815a..b158c78 100644
--- a/redfish-core/lib/sensors.hpp
+++ b/redfish-core/lib/sensors.hpp
@@ -2712,8 +2712,7 @@
                         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