summaryrefslogtreecommitdiff
path: root/redfish-core/lib/pcie.hpp
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2020-05-14 01:38:24 +0300
committerPatrick Williams <patrick@stwcx.xyz>2020-05-14 06:15:18 +0300
commit19bd78d9b79085526fd520d8f5c020905db1122a (patch)
treee9f467974303a9ad31a22f2c1e554407c124d733 /redfish-core/lib/pcie.hpp
parent8d78b7a9f5fbca338a5867d5dd4fa83890d79bc7 (diff)
downloadbmcweb-19bd78d9b79085526fd520d8f5c020905db1122a.tar.xz
sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia5d0845741f1d8d4bc6fd227c6d2e6f3a8d42b2e
Diffstat (limited to 'redfish-core/lib/pcie.hpp')
-rw-r--r--redfish-core/lib/pcie.hpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/redfish-core/lib/pcie.hpp b/redfish-core/lib/pcie.hpp
index 33b8828671..f8a5e2957c 100644
--- a/redfish-core/lib/pcie.hpp
+++ b/redfish-core/lib/pcie.hpp
@@ -135,8 +135,8 @@ class SystemPCIeDevice : public Node
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 @@ class SystemPCIeFunctionCollection : public Node
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 @@ class SystemPCIeFunction : public Node
const boost::system::error_code ec,
boost::container::flat_map<
std::string,
- sdbusplus::message::variant<
- std::string>>
+ std::variant<std::string>>
&pcieDevProperties) {
if (ec)
{