mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 18:27:40 +02:00
Resolve C4702 unreachable code warnings
This commit is contained in:
committed by
Victor Zverovich
parent
dad3237514
commit
1d066890c7
@ -134,7 +134,7 @@ FMT_FUNC auto write_loc(appender out, loc_value value,
|
||||
|
||||
FMT_FUNC void report_error(const char* message) {
|
||||
#if FMT_USE_EXCEPTIONS
|
||||
throw format_error(message);
|
||||
FMT_THROW(format_error(message));
|
||||
#else
|
||||
fputs(message, stderr);
|
||||
abort();
|
||||
|
Reference in New Issue
Block a user