sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I664c4982aa03664728d7375d78dfae6e595c2d20
diff --git a/power-supply/power_supply.cpp b/power-supply/power_supply.cpp
index 7e1585e..d2d3e9c 100644
--- a/power-supply/power_supply.cpp
+++ b/power-supply/power_supply.cpp
@@ -190,7 +190,7 @@
void PowerSupply::inventoryChanged(sdbusplus::message::message& msg)
{
std::string msgSensor;
- std::map<std::string, sdbusplus::message::variant<uint32_t, bool>> msgData;
+ std::map<std::string, std::variant<uint32_t, bool>> msgData;
msg.read(msgSensor, msgData);
// Check if it was the Present property that changed.
@@ -227,7 +227,7 @@
{
int32_t state = 0;
std::string msgSensor;
- std::map<std::string, sdbusplus::message::variant<int32_t>> msgData;
+ std::map<std::string, std::variant<int32_t>> msgData;
msg.read(msgSensor, msgData);
// Check if it was the Present property that changed.