sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I6b522b72d990a1e9a4195a3f7c86d89e41b9961e
diff --git a/example.cpp b/example.cpp
index 79b9080..bfd28ad 100644
--- a/example.cpp
+++ b/example.cpp
@@ -35,10 +35,8 @@
*
* static void PrintMessageMap(sdbusplus::message::message& m)
* {
- * using sdbusplus::message::variant_ns::get;
* std::string messageBusName;
- * std::map<std::string, sdbusplus::message::variant<uint64_t>>
- * messageData;
+ * std::map<std::string, std::variant<uint64_t>> messageData;
*
* m.read(messageBusName, messageData);
*
diff --git a/lpcsnoop/snoop_listen.hpp b/lpcsnoop/snoop_listen.hpp
index 5d7239e..27f8b31 100644
--- a/lpcsnoop/snoop_listen.hpp
+++ b/lpcsnoop/snoop_listen.hpp
@@ -22,7 +22,7 @@
namespace lpcsnoop
{
-using sdbusplus::message::variant_ns::get;
+using std::get;
/* Returns matching string for what signal to listen on Dbus */
static const std::string GetMatchRule()