diff options
author | Max Kellermann <max@musicpd.org> | 2019-03-15 20:43:50 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-03-16 13:23:02 +0100 |
commit | cf66a60c604198ba9c33f2dd5c0b764207a7cec7 (patch) | |
tree | 34ca3e65cadb7eeccd91ec21fdf8d0138c25fbe1 /test | |
parent | 9b26d451e462b83d25c07f6461b3641160df0662 (diff) |
test/MakeTag: add `noexcept`
Diffstat (limited to 'test')
-rw-r--r-- | test/MakeTag.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/MakeTag.hxx b/test/MakeTag.hxx index 4861583e5..49e221b35 100644 --- a/test/MakeTag.hxx +++ b/test/MakeTag.hxx @@ -22,13 +22,14 @@ #include "util/Compiler.h" inline void -BuildTag(gcc_unused TagBuilder &tag) +BuildTag(gcc_unused TagBuilder &tag) noexcept { } template<typename... Args> inline void -BuildTag(TagBuilder &tag, TagType type, const char *value, Args&&... args) +BuildTag(TagBuilder &tag, TagType type, const char *value, + Args&&... args) noexcept { tag.AddItem(type, value); BuildTag(tag, std::forward<Args>(args)...); @@ -36,7 +37,7 @@ BuildTag(TagBuilder &tag, TagType type, const char *value, Args&&... args) template<typename... Args> inline Tag -MakeTag(Args&&... args) +MakeTag(Args&&... args) noexcept { TagBuilder tag; BuildTag(tag, std::forward<Args>(args)...); |