From cf66a60c604198ba9c33f2dd5c0b764207a7cec7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 15 Mar 2019 20:43:50 +0100 Subject: [PATCH] test/MakeTag: add `noexcept` --- test/MakeTag.hxx | 7 ++++--- 1 file 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 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)...); @@ -36,7 +37,7 @@ BuildTag(TagBuilder &tag, TagType type, const char *value, Args&&... args) template inline Tag -MakeTag(Args&&... args) +MakeTag(Args&&... args) noexcept { TagBuilder tag; BuildTag(tag, std::forward(args)...);