commit | ce82de51f0f61fade0177e1de25c4331f96a7a75 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue Jan 16 13:56:38 2024 -0600 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Tue Jan 16 14:38:02 2024 -0600 |
tree | a679c9cc29134047da5a37617288b31211743224 | |
parent | 1db5847d50fc8ea394d1aed19e10995500b09bd1 [diff] [blame] |
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/version.cpp b/version.cpp index b8b1247..54b8c27 100644 --- a/version.cpp +++ b/version.cpp
@@ -24,8 +24,8 @@ PHOSPHOR_LOG2_USING; using namespace phosphor::logging; -using Argument = xyz::openbmc_project::Common::InvalidArgument; -using namespace sdbusplus::xyz::openbmc_project::Common::Error; +using Argument = xyz::openbmc_project::common::InvalidArgument; +using namespace sdbusplus::error::xyz::openbmc_project::common; std::string Version::getValue(const std::string& manifestFilePath, std::string key)