summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-10-16 21:26:01 +0200
committerMax Kellermann <max@musicpd.org>2018-10-16 21:26:04 +0200
commiteefc0f5d80fbcb485db230c3df090b69994a75ce (patch)
tree117a3b8468465d5fc82fae246c78b7a7497d9785 /src/input
parent1f94cea889a4531539dc73cdd89439909c20b20c (diff)
input/Error: add `noexcept`
Diffstat (limited to 'src/input')
-rw-r--r--src/input/Error.cxx2
-rw-r--r--src/input/Error.hxx2
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