sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia5d0845741f1d8d4bc6fd227c6d2e6f3a8d42b2e
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index c711983..b579994 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -64,7 +64,7 @@
std::vector<std::pair<std::string, LDAPRoleMapData>> groupRoleList;
};
-using DbusVariantType = sdbusplus::message::variant<bool, int32_t, std::string>;
+using DbusVariantType = std::variant<bool, int32_t, std::string>;
using DbusInterfaceType = boost::container::flat_map<
std::string, boost::container::flat_map<std::string, DbusVariantType>>;
@@ -1867,7 +1867,7 @@
"org.freedesktop.DBus.Properties", "Set",
"xyz.openbmc_project.User.Attributes",
"UserLockedForFailedAttempt",
- sdbusplus::message::variant<bool>{*locked});
+ std::variant<bool>{*locked});
}
});
}