sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If0935711f9a111064ce10657e056de8d39188cfd
diff --git a/host-interface.cpp b/host-interface.cpp
index 27d5e99..ca33b1e 100644
--- a/host-interface.cpp
+++ b/host-interface.cpp
@@ -39,7 +39,7 @@
// This is the only command that is being used now.
if (command == Base::Host::Command::OCCReset)
{
- auto sensorID = sdbusplus::message::variant_ns::get<uint8_t>(data);
+ auto sensorID = std::get<uint8_t>(data);
auto cmd = std::make_tuple(std::make_pair(IPMI_CMD_OCC_RESET, sensorID),
std::bind(&Host::commandStatusHandler, this,