diff --git a/include/xrpl/beast/utility/Journal.h b/include/xrpl/beast/utility/Journal.h index 5942b8de09..1cb5bd1a5c 100644 --- a/include/xrpl/beast/utility/Journal.h +++ b/include/xrpl/beast/utility/Journal.h @@ -365,7 +365,6 @@ public: /** Journal has no default constructor. */ Journal() = delete; - [[deprecated]] Journal(Journal const& other) : Journal(other, nullptr) { diff --git a/include/xrpl/telemetry/JsonLogs.h b/include/xrpl/telemetry/JsonLogs.h index 8ff996f41f..c6f3b84ff6 100644 --- a/include/xrpl/telemetry/JsonLogs.h +++ b/include/xrpl/telemetry/JsonLogs.h @@ -25,6 +25,7 @@ #include #include +#include namespace ripple::log { @@ -77,7 +78,7 @@ public: void setModuleName(std::string const& name) override; - std::unique_ptr + [[nodiscard]] std::unique_ptr clone() const override; void