From 9d8243200fe22eff27a7bb40f4c3771855286100 Mon Sep 17 00:00:00 2001 From: JCW Date: Thu, 21 Aug 2025 15:34:21 +0100 Subject: [PATCH] Fix errors Signed-off-by: JCW --- src/libxrpl/beast/utility/beast_Journal.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libxrpl/beast/utility/beast_Journal.cpp b/src/libxrpl/beast/utility/beast_Journal.cpp index de9a5f196f..1b9cafc564 100644 --- a/src/libxrpl/beast/utility/beast_Journal.cpp +++ b/src/libxrpl/beast/utility/beast_Journal.cpp @@ -109,8 +109,10 @@ severities::to_string(Severity severity) case kFatal: return "fatal"; default: - assert(false); + UNREACHABLE("Unexpected severity value!"); } + return ""; + } Journal::Sink::Sink(Severity thresh, bool console) : thresh_(thresh), m_console(console)