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/chassis_state_manager.cpp b/chassis_state_manager.cpp
index aa5d178..3818210 100644
--- a/chassis_state_manager.cpp
+++ b/chassis_state_manager.cpp
@@ -32,9 +32,9 @@
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;
namespace decoratorServer =
- sdbusplus::xyz::openbmc_project::State::Decorator::server;
+ sdbusplus::server::xyz::openbmc_project::state::decorator;
using namespace phosphor::logging;
using sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure;