FMT_EXCEPTIONS -> FMT_USE_EXCEPTIONS
This commit is contained in:
@@ -129,7 +129,7 @@ FMT_FUNC auto write_loc(appender out, loc_value value,
|
||||
} // namespace detail
|
||||
|
||||
FMT_FUNC void report_error(const char* message) {
|
||||
#if FMT_EXCEPTIONS
|
||||
#if FMT_USE_EXCEPTIONS
|
||||
throw format_error(message);
|
||||
#else
|
||||
fputs(message, stderr);
|
||||
|
||||
Reference in New Issue
Block a user