sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ideff9c2a6d5be16fd123a40a0878cf09f8b3daa8
diff --git a/inc/post_code.hpp b/inc/post_code.hpp
index e03358f..f461798 100644
--- a/inc/post_code.hpp
+++ b/inc/post_code.hpp
@@ -82,8 +82,7 @@
if (valPropMap != msgData.end())
{
this->savePostCodes(
- sdbusplus::message::variant_ns::get<uint64_t>(
- valPropMap->second));
+ std::get<uint64_t>(valPropMap->second));
}
}
}),
@@ -105,8 +104,7 @@
{
StateServer::Host::HostState currentHostState =
StateServer::Host::convertHostStateFromString(
- sdbusplus::message::variant_ns::get<
- std::string>(valPropMap->second));
+ std::get<std::string>(valPropMap->second));
if (currentHostState ==
StateServer::Host::HostState::Off)
{