sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia4b7b6bd27bdcb68cb4ef6399f97966372bf4c2e
diff --git a/fault-monitor/fru-fault-monitor.cpp b/fault-monitor/fru-fault-monitor.cpp
index b71cbcc..955540c 100644
--- a/fault-monitor/fru-fault-monitor.cpp
+++ b/fault-monitor/fru-fault-monitor.cpp
@@ -183,8 +183,7 @@
return;
}
- auto& assocs =
- sdbusplus::message::variant_ns::get<AssociationList>(attr->second);
+ auto& assocs = std::get<AssociationList>(attr->second);
if (assocs.empty())
{
// No associations skip
@@ -282,8 +281,7 @@
entry("REPLY_SIG=%s", reply.get_signature()));
continue;
}
- auto& assocs =
- sdbusplus::message::variant_ns::get<AssociationList>(assoc);
+ auto& assocs = std::get<AssociationList>(assoc);
if (assocs.empty())
{
// no associations, skip