errors: Use non-deprecated namespaces
The error namespaces have been updated. Reference:
https://gerrit.openbmc.org/c/openbmc/sdbusplus/+/66308
https://gerrit.openbmc.org/c/openbmc/phosphor-logging/+/66463
Tested: Compiled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE option.
Change-Id: Idd1ca6f14635039bd8bd2f34d69afd3e97588648
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/msl_verify.cpp b/msl_verify.cpp
index 049ac9a..c9f8bce 100644
--- a/msl_verify.cpp
+++ b/msl_verify.cpp
@@ -85,10 +85,10 @@
if (rc < 0)
{
using namespace phosphor::logging;
- using IncompatibleErr = sdbusplus::xyz::openbmc_project::Software::
- Version::Error::Incompatible;
+ using IncompatibleErr = sdbusplus::error::xyz::openbmc_project::
+ software::version::Incompatible;
using Incompatible =
- xyz::openbmc_project::Software::Version::Incompatible;
+ xyz::openbmc_project::software::version::Incompatible;
std::string purpose =
"xyz.openbmc_project.Software.Version.VersionPurpose.BMC";