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/download_manager.cpp b/download_manager.cpp
index 1197851..71a5255 100644
--- a/download_manager.cpp
+++ b/download_manager.cpp
@@ -24,14 +24,14 @@
namespace manager
{
-using namespace sdbusplus::xyz::openbmc_project::Common::Error;
+using namespace sdbusplus::error::xyz::openbmc_project::common;
PHOSPHOR_LOG2_USING;
using namespace phosphor::logging;
namespace fs = std::filesystem;
void Download::downloadViaTFTP(std::string fileName, std::string serverAddress)
{
- using Argument = xyz::openbmc_project::Common::InvalidArgument;
+ using Argument = xyz::openbmc_project::common::InvalidArgument;
// Sanitize the fileName string
if (!fileName.empty())