Declare throwIoFailure() as [[noreturn]]

sendfile
Martchus 4 years ago
parent 25ef4e28a2
commit e023c1af79
  1. 2
      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

Loading…
Cancel
Save