sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib20d8676d474bcb020a5ffababd77d901360d192
diff --git a/manager.cpp b/manager.cpp
index 7055e43..7d3fd7a 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -194,9 +194,7 @@
const auto& properties = associations->second;
auto assocProperty = properties.find("Associations");
- auto assocValue =
- sdbusplus::message::variant_ns::get<AssociationsPropertyType>(
- assocProperty->second);
+ auto assocValue = std::get<AssociationsPropertyType>(assocProperty->second);
auto id = getEntryID(objectPath);
auto calloutNum = 0;
@@ -319,8 +317,7 @@
auto property = interface->second.find("Timestamp");
if (property != interface->second.end())
{
- return sdbusplus::message::variant_ns::get<uint64_t>(
- property->second);
+ return std::get<uint64_t>(property->second);
}
}