sdbusplus: remove deprecated variant_ns

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie9d2f9838212aba7e3201f8af43586c48e273189
diff --git a/host_state_manager.cpp b/host_state_manager.cpp
index bdc2a86..c333032 100644
--- a/host_state_manager.cpp
+++ b/host_state_manager.cpp
@@ -173,8 +173,7 @@
         return false;
     }
 
-    const auto& currentStateStr =
-        sdbusplus::message::variant_ns::get<std::string>(currentState);
+    const auto& currentStateStr = std::get<std::string>(currentState);
     return currentStateStr == ACTIVE_STATE ||
            currentStateStr == ACTIVATING_STATE;
 }
@@ -194,7 +193,7 @@
 
         sdbusplus::message::variant<bool> result;
         reply.read(result);
-        auto autoReboot = sdbusplus::message::variant_ns::get<bool>(result);
+        auto autoReboot = std::get<bool>(result);
         auto rebootCounterParam = reboot::RebootAttempts::attemptsLeft();
 
         if (autoReboot)