sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7b04e16b91dbb6eb229cb2d0d528c56f6b2ea0ba
diff --git a/fault-monitor/fru-fault-monitor.cpp b/fault-monitor/fru-fault-monitor.cpp
index 955540c..7b03733 100644
--- a/fault-monitor/fru-fault-monitor.cpp
+++ b/fault-monitor/fru-fault-monitor.cpp
@@ -30,7 +30,7 @@
using AssociationList =
std::vector<std::tuple<std::string, std::string, std::string>>;
-using Attributes = sdbusplus::message::variant<bool, AssociationList>;
+using Attributes = std::variant<bool, AssociationList>;
using PropertyName = std::string;
using PropertyMap = std::map<PropertyName, Attributes>;
using InterfaceName = std::string;
@@ -126,7 +126,7 @@
method.append("xyz.openbmc_project.Led.Group");
method.append("Asserted");
- method.append(sdbusplus::message::variant<bool>(assert));
+ method.append(std::variant<bool>(assert));
try
{
@@ -268,7 +268,7 @@
continue;
}
- sdbusplus::message::variant<AssociationList> assoc;
+ std::variant<AssociationList> assoc;
try
{
reply.read(assoc);