sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia5d0845741f1d8d4bc6fd227c6d2e6f3a8d42b2e
diff --git a/redfish-core/lib/pcie.hpp b/redfish-core/lib/pcie.hpp
index 33b8828..f8a5e29 100644
--- a/redfish-core/lib/pcie.hpp
+++ b/redfish-core/lib/pcie.hpp
@@ -135,8 +135,8 @@
auto getPCIeDeviceCallback =
[asyncResp,
device](const boost::system::error_code ec,
- boost::container::flat_map<
- std::string, sdbusplus::message::variant<std::string>>
+ boost::container::flat_map<std::string,
+ std::variant<std::string>>
&pcieDevProperties) {
if (ec)
{
@@ -231,8 +231,8 @@
auto getPCIeDeviceCallback =
[asyncResp,
device](const boost::system::error_code ec,
- boost::container::flat_map<
- std::string, sdbusplus::message::variant<std::string>>
+ boost::container::flat_map<std::string,
+ std::variant<std::string>>
&pcieDevProperties) {
if (ec)
{
@@ -319,8 +319,7 @@
const boost::system::error_code ec,
boost::container::flat_map<
std::string,
- sdbusplus::message::variant<
- std::string>>
+ std::variant<std::string>>
&pcieDevProperties) {
if (ec)
{