Declare throwIoFailure() as [[noreturn]]
This commit is contained in:
parent
25ef4e28a2
commit
e023c1af79
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue