Declare throwIoFailure() as [[noreturn]]

This commit is contained in:
Martchus 2018-09-30 13:56:25 +02:00
parent 25ef4e28a2
commit e023c1af79
1 changed files with 1 additions and 1 deletions

View File

@ -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