sdbus++: use non-deprecated namespaces
The sdbusplus repository has deprecated some namespaces and they are
currently only enabled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
guard. Switch to the new namespace names.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9f67e74a02616d8ea2241c18758308f2b669672d
diff --git a/bmc_state_manager.cpp b/bmc_state_manager.cpp
index e418879..5071d89 100644
--- a/bmc_state_manager.cpp
+++ b/bmc_state_manager.cpp
@@ -25,7 +25,7 @@
PHOSPHOR_LOG2_USING;
// When you see server:: you know we're referencing our base class
-namespace server = sdbusplus::xyz::openbmc_project::State::server;
+namespace server = sdbusplus::server::xyz::openbmc_project::state;
using namespace phosphor::logging;
using sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure;
@@ -310,7 +310,7 @@
const std::string errorMsg = "xyz.openbmc_project.State.PinholeReset";
phosphor::state::manager::utils::createError(
this->bus, errorMsg,
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::Level::
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::Level::
Notice);
return;
}