Commit eefc0f5d authored by Max Kellermann's avatar Max Kellermann

input/Error: add `noexcept`

parent 1f94cea8
...@@ -31,7 +31,7 @@ ...@@ -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);
......
...@@ -32,6 +32,6 @@ ...@@ -32,6 +32,6 @@
*/ */
gcc_pure gcc_pure
bool bool
IsFileNotFound(std::exception_ptr e); IsFileNotFound(std::exception_ptr e) noexcept;
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment