Remove SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
Fix the code to support new sdbusplus error without
SDBUSPP_REMOVE_DEPRECATED_NAMESPACE.
Change-Id: I12713ec1757d3835e1acf07c7abf409ff97615e1
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/elog_entry.cpp b/elog_entry.cpp
index 85751ed..37a1f53 100644
--- a/elog_entry.cpp
+++ b/elog_entry.cpp
@@ -23,12 +23,12 @@
bool Entry::resolved(bool value)
{
auto current =
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::resolved();
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::resolved();
if (value != current)
{
value ? associations({}) : associations(assocs);
current =
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::resolved(
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::resolved(
value);
uint64_t ms = std::chrono::duration_cast<std::chrono::milliseconds>(
@@ -45,11 +45,11 @@
std::string Entry::eventId(std::string value)
{
auto current =
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::eventId();
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::eventId();
if (value != current)
{
current =
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::eventId(
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::eventId(
value);
serialize(*this);
}
@@ -60,11 +60,11 @@
std::string Entry::resolution(std::string value)
{
auto current =
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::resolution();
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::resolution();
if (value != current)
{
current =
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::resolution(
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::resolution(
value);
serialize(*this);
}