Skip to content

Commit 1d06689

Browse files
GamesTrapvitaut
authored andcommitted
Resolve C4702 unreachable code warnings
1 parent dad3237 commit 1d06689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fmt/format-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ FMT_FUNC auto write_loc(appender out, loc_value value,
134134

135135
FMT_FUNC void report_error(const char* message) {
136136
#if FMT_USE_EXCEPTIONS
137-
throw format_error(message);
137+
FMT_THROW(format_error(message));
138138
#else
139139
fputs(message, stderr);
140140
abort();

0 commit comments

Comments
 (0)