sdbusplus: remove deprecated variant_ns

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I369662a8ebaac80417cd75be26cc11a2f0dab535
diff --git a/power-supply/power_supply.cpp b/power-supply/power_supply.cpp
index aa7588e..c780c47 100644
--- a/power-supply/power_supply.cpp
+++ b/power-supply/power_supply.cpp
@@ -185,7 +185,7 @@
     auto valPropMap = msgData.find(PRESENT_PROP);
     if (valPropMap != msgData.end())
     {
-        if (sdbusplus::message::variant_ns::get<bool>(valPropMap->second))
+        if (std::get<bool>(valPropMap->second))
         {
             clearFaults();
             presentTimer.restartOnce(presentInterval);
@@ -222,8 +222,7 @@
     auto valPropMap = msgData.find("state");
     if (valPropMap != msgData.end())
     {
-        state =
-            sdbusplus::message::variant_ns::get<int32_t>(valPropMap->second);
+        state = std::get<int32_t>(valPropMap->second);
 
         // Power is on when state=1. Set the fault logged variables to false
         // and start the power on timer when the state changes to 1.
diff --git a/utility.hpp b/utility.hpp
index af50127..0f7b312 100644
--- a/utility.hpp
+++ b/utility.hpp
@@ -61,7 +61,7 @@
     auto reply = bus.call(method);
 
     reply.read(property);
-    value = sdbusplus::message::variant_ns::get<T>(property);
+    value = std::get<T>(property);
 }
 
 /**