summaryrefslogtreecommitdiff
path: root/test/dump_rva2.cxx
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 /test/dump_rva2.cxx
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 'test/dump_rva2.cxx')
-rw-r--r--test/dump_rva2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dump_rva2.cxx b/test/dump_rva2.cxx
index 3765ebfdf..6a90e5b41 100644
--- a/test/dump_rva2.cxx
+++ b/test/dump_rva2.cxx
@@ -40,7 +40,7 @@
const char *
config_get_string(gcc_unused enum ConfigOption option,
- const char *default_value)
+ const char *default_value) noexcept
{
return default_value;
}