summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dump_rva2.cxx2
-rw-r--r--test/read_mixer.cxx2
-rw-r--r--test/run_output.cxx2
-rw-r--r--test/test_rewind.cxx2
-rw-r--r--test/test_translate_song.cxx6
5 files changed, 7 insertions, 7 deletions
diff --git a/test/dump_rva2.cxx b/test/dump_rva2.cxx
index 180e21902..f9d916876 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;
}
diff --git a/test/read_mixer.cxx b/test/read_mixer.cxx
index 575894cee..4c7efabe3 100644
--- a/test/read_mixer.cxx
+++ b/test/read_mixer.cxx
@@ -33,7 +33,7 @@
#include <stdlib.h>
const FilterPlugin *
-filter_plugin_by_name(gcc_unused const char *name)
+filter_plugin_by_name(gcc_unused const char *name) noexcept
{
assert(false);
return NULL;
diff --git a/test/run_output.cxx b/test/run_output.cxx
index a4a39b826..ce926714b 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -54,7 +54,7 @@ public:
};
const FilterPlugin *
-filter_plugin_by_name(gcc_unused const char *name)
+filter_plugin_by_name(gcc_unused const char *name) noexcept
{
assert(false);
return NULL;
diff --git a/test/test_rewind.cxx b/test/test_rewind.cxx
index ef417de34..ac23d598a 100644
--- a/test/test_rewind.cxx
+++ b/test/test_rewind.cxx
@@ -32,7 +32,7 @@ public:
}
/* virtual methods from InputStream */
- bool IsEOF() override {
+ bool IsEOF() noexcept override {
return remaining == 0;
}
diff --git a/test/test_translate_song.cxx b/test/test_translate_song.cxx
index 3e8ae2111..a8c83fbb2 100644
--- a/test/test_translate_song.cxx
+++ b/test/test_translate_song.cxx
@@ -32,7 +32,7 @@ Log(const Domain &domain, gcc_unused LogLevel level, const char *msg)
}
bool
-uri_supported_scheme(const char *uri)
+uri_supported_scheme(const char *uri) noexcept
{
return strncmp(uri, "http://", 7) == 0;
}
@@ -130,13 +130,13 @@ DetachedSong::LoadFile(Path path)
}
const Database *
-Client::GetDatabase() const
+Client::GetDatabase() const noexcept
{
return reinterpret_cast<const Database *>(this);
}
const Storage *
-Client::GetStorage() const
+Client::GetStorage() const noexcept
{
return ::storage;
}