summaryrefslogtreecommitdiff
path: root/src/fs/Charset.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/fs/Charset.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/fs/Charset.hxx')
-rw-r--r--src/fs/Charset.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx
index 8f20cb565..84cf64ec6 100644
--- a/src/fs/Charset.hxx
+++ b/src/fs/Charset.hxx
@@ -33,7 +33,7 @@
*/
gcc_const
const char *
-GetFSCharset();
+GetFSCharset() noexcept;
/**
* Throws std::runtime_error on error.
@@ -42,7 +42,7 @@ void
SetFSCharset(const char *charset);
void
-DeinitFSCharset();
+DeinitFSCharset() noexcept;
/**
* Convert the path to UTF-8.