summaryrefslogtreecommitdiff
path: root/src/ls.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-05-08 14:44:49 +0200
committerMax Kellermann <max@musicpd.org>2017-05-08 14:44:49 +0200
commit71f0ed8b7499011b53f90998ebfbd3250fd80948 (patch)
treee9c2f66fbef231858f46d878864199d46e6ce21c /src/ls.hxx
parentac2e4e593d407e41db49fdb9ae2da6bc1557f618 (diff)
*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
Diffstat (limited to 'src/ls.hxx')
-rw-r--r--src/ls.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ls.hxx b/src/ls.hxx
index d4c1d296b..b8c8f249a 100644
--- a/src/ls.hxx
+++ b/src/ls.hxx
@@ -32,7 +32,8 @@ class Response;
* uri_has_scheme() first.
*/
gcc_pure
-bool uri_supported_scheme(const char *url);
+bool
+uri_supported_scheme(const char *url) noexcept;
/**
* Send a list of supported URI schemes to the client. This is the