diff options
author | Max Kellermann <max@musicpd.org> | 2018-10-16 21:26:01 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-10-16 21:26:04 +0200 |
commit | eefc0f5d80fbcb485db230c3df090b69994a75ce (patch) | |
tree | 117a3b8468465d5fc82fae246c78b7a7497d9785 /src/input | |
parent | 1f94cea889a4531539dc73cdd89439909c20b20c (diff) |
input/Error: add `noexcept`
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/Error.cxx | 2 | ||||
-rw-r--r-- | src/input/Error.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/input/Error.cxx b/src/input/Error.cxx index 3db1f26f1..b3f0e7e65 100644 --- a/src/input/Error.cxx +++ b/src/input/Error.cxx @@ -31,7 +31,7 @@ #endif bool -IsFileNotFound(std::exception_ptr ep) +IsFileNotFound(std::exception_ptr ep) noexcept { try { std::rethrow_exception(ep); diff --git a/src/input/Error.hxx b/src/input/Error.hxx index c857f827e..04ea27ab8 100644 --- a/src/input/Error.hxx +++ b/src/input/Error.hxx @@ -32,6 +32,6 @@ */ gcc_pure bool -IsFileNotFound(std::exception_ptr e); +IsFileNotFound(std::exception_ptr e) noexcept; #endif |