Skip to content

Commit 1a159e0

Browse files
committed
Fix errors
Signed-off-by: JCW <[email protected]>
1 parent 5696498 commit 1a159e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libxrpl/beast/utility/beast_Journal.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ severities::to_string(Severity severity)
109109
case kFatal:
110110
return "fatal";
111111
default:
112-
assert(false);
112+
UNREACHABLE("Unexpected severity value!");
113113
}
114+
return "";
115+
114116
}
115117
Journal::Sink::Sink(Severity thresh, bool console)
116118
: thresh_(thresh), m_console(console)

0 commit comments

Comments
 (0)