Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Sep 4, 2023
1 parent 5aa380e commit 3f39a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ylt/easylog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ inline void add_appender(std::function<void(std::string_view)> fn) {
GET_STRING(__FILE__, __LINE__)) \
.format(prefix::format(format_str, __VA_ARGS__)); \
if (severity == easylog::Severity::CRITICAL || \
record.get_severity() == Severity::FATAL) { \
severity == Severity::FATAL) { \
easylog::flush<Id>(); \
std::exit(EXIT_FAILURE); \
} \
Expand Down

0 comments on commit 3f39a9a

Please sign in to comment.