diff options
author | Max Kellermann <max@musicpd.org> | 2017-05-15 23:01:49 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-05-15 23:01:49 +0200 |
commit | 4faef28cc56c3ed72a22dbd1cb317cf756217400 (patch) | |
tree | f2a3e8168ce9efada0fd0afe9971f90f0dee12b4 /test | |
parent | 89b900432e0bfb324356f6ae62a09241eb75d251 (diff) | |
parent | b4c9d9c2a72fbf2c6c9090c73fe37fcc94dce1ca (diff) |
Merge tag 'v0.20.7'
release v0.20.7
Diffstat (limited to 'test')
-rw-r--r-- | test/dump_rva2.cxx | 2 | ||||
-rw-r--r-- | test/read_mixer.cxx | 2 | ||||
-rw-r--r-- | test/run_output.cxx | 2 | ||||
-rw-r--r-- | test/test_rewind.cxx | 2 | ||||
-rw-r--r-- | test/test_translate_song.cxx | 6 |
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; } |