sdbusplus: remove deprecated variant_ns

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3c785d33984b7c3af8671432c194db34be360b52
diff --git a/power-supply/power_supply.cpp b/power-supply/power_supply.cpp
index 487921d..7e1585e 100644
--- a/power-supply/power_supply.cpp
+++ b/power-supply/power_supply.cpp
@@ -197,7 +197,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);
@@ -234,8 +234,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 0f008e3..26968ec 100644
--- a/utility.hpp
+++ b/utility.hpp
@@ -56,7 +56,7 @@
     auto reply = bus.call(method);
 
     reply.read(property);
-    value = sdbusplus::message::variant_ns::get<T>(property);
+    value = std::get<T>(property);
 }
 
 /**