sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8ae0323c7eabb6c0cde2126b07a7396b4e3e17ea
diff --git a/test/test.cpp b/test/test.cpp
index cf61b84..2222580 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -425,8 +425,8 @@
sig.read(sigInterface);
assert(sigInterface == "xyz.openbmc_project.Example.Iface1");
sig.read(sigProperties);
- assert(sdbusplus::message::variant_ns::get<std::string>(
- sigProperties["ExampleProperty1"]) == "changed");
+ assert(std::get<std::string>(sigProperties["ExampleProperty1"]) ==
+ "changed");
}
}
}