Fixing warning C4702: unreachable code
This commit is contained in:
parent
9648bdce30
commit
450cbedf4f
@ -197,7 +197,7 @@ FMT_API std::system_error vwindows_error(int error_code, string_view format_str,
|
|||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
std::system_error windows_error(int error_code, string_view message,
|
std::system_error windows_error(int error_code, string_view message,
|
||||||
const Args&... args) {
|
const Args&... args) {
|
||||||
return vwindows_error(error_code, message, make_format_args(args...));
|
vwindows_error(error_code, message, make_format_args(args...));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reports a Windows error without throwing an exception.
|
// Reports a Windows error without throwing an exception.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user