print: switch to stdplus print
The existing print.hpp was reported as having issues with the
latest clang. Switch to use the stdplus version.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3584acad3dbf1a55153beb935b10b531ea63c959
diff --git a/src/server.cpp b/src/server.cpp
index a3a1b47..ed67d82 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1,13 +1,12 @@
#include "server.hpp"
-#include "print.hpp"
-
#include <linux/ipmi_bmc.h>
#include <sdbusplus/exception.hpp>
#include <sdbusplus/server/interface.hpp>
#include <sdbusplus/vtable.hpp>
#include <stdplus/fd/ops.hpp>
+#include <stdplus/print.hpp>
#include <cstdio>
#include <stdexcept>
@@ -43,7 +42,7 @@
}
catch (const std::exception& e)
{
- std::print(stderr, "Method response failed: {}\n", e.what());
+ stdplus::print(stderr, "Method response failed: {}\n", e.what());
sd_bus_error_set(error,
"xyz.openbmc_project.Common.Error.InternalFailure",
"The operation failed internally.");