Commit eefc0f5d authored by Max Kellermann's avatar Max Kellermann

input/Error: add `noexcept`

parent 1f94cea8
......@@ -31,7 +31,7 @@
#endif
bool
IsFileNotFound(std::exception_ptr ep)
IsFileNotFound(std::exception_ptr ep) noexcept
{
try {
std::rethrow_exception(ep);
......
......@@ -32,6 +32,6 @@
*/
gcc_pure
bool
IsFileNotFound(std::exception_ptr e);
IsFileNotFound(std::exception_ptr e) noexcept;
#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