sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I62deb24e0fc9784289124cc0fc8a6db2de5d6b98
diff --git a/msl_verify.cpp b/msl_verify.cpp
index b49b079..0de9da3 100644
--- a/msl_verify.cpp
+++ b/msl_verify.cpp
@@ -15,7 +15,6 @@
{
namespace fs = std::experimental::filesystem;
-namespace variant_ns = sdbusplus::message::variant_ns;
using namespace phosphor::logging;
using AssociationList =
std::vector<std::tuple<std::string, std::string, std::string>>;
@@ -101,7 +100,7 @@
return {};
}
- auto& assocs = variant_ns::get<AssociationList>(associations);
+ auto& assocs = std::get<AssociationList>(associations);
if (assocs.empty())
{
return {};
@@ -121,7 +120,7 @@
try
{
response.read(functionalVersion);
- return variant_ns::get<std::string>(functionalVersion);
+ return std::get<std::string>(functionalVersion);
}
catch (const sdbusplus::exception::SdBusError& e)
{