diff --git a/io/catchiofailure.h b/io/catchiofailure.h index 8e89b5f..be3b77b 100644 --- a/io/catchiofailure.h +++ b/io/catchiofailure.h @@ -8,7 +8,7 @@ namespace IoUtilities { CPP_UTILITIES_EXPORT const char *catchIoFailure(); -CPP_UTILITIES_EXPORT void throwIoFailure(const char *what); +[[noreturn]] CPP_UTILITIES_EXPORT void throwIoFailure(const char *what); } // namespace IoUtilities #endif // IOUTILITIES_CATCHIOFAILURE_H