sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I96011a7be0c4577617fdbfcd95ffbc5a3177be49
diff --git a/utility.hpp b/utility.hpp
index 0f7b312..df59b92 100644
--- a/utility.hpp
+++ b/utility.hpp
@@ -51,7 +51,7 @@
const std::string& path, const std::string& service,
sdbusplus::bus::bus& bus, T& value)
{
- sdbusplus::message::variant<T> property;
+ std::variant<T> property;
auto method = bus.new_method_call(service.c_str(), path.c_str(),
PROPERTY_INTF, "Get");
@@ -79,7 +79,7 @@
const std::string& path, const std::string& service,
sdbusplus::bus::bus& bus, T& value)
{
- sdbusplus::message::variant<T> propertyValue(value);
+ std::variant<T> propertyValue(value);
auto method = bus.new_method_call(service.c_str(), path.c_str(),
PROPERTY_INTF, "Set");