input/Error: add `noexcept`

This commit is contained in:
Max Kellermann 2018-10-16 21:26:01 +02:00
parent 1f94cea889
commit eefc0f5d80
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
#endif #endif
bool bool
IsFileNotFound(std::exception_ptr ep) IsFileNotFound(std::exception_ptr ep) noexcept
{ {
try { try {
std::rethrow_exception(ep); std::rethrow_exception(ep);

View File

@ -32,6 +32,6 @@
*/ */
gcc_pure gcc_pure
bool bool
IsFileNotFound(std::exception_ptr e); IsFileNotFound(std::exception_ptr e) noexcept;
#endif #endif