From 103194e32d1d86042ac41a581386289834469e20 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Feb 2021 19:43:53 +0100 Subject: protocol/RangeArg: add missing `noexcept` --- src/protocol/RangeArg.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol') diff --git a/src/protocol/RangeArg.hxx b/src/protocol/RangeArg.hxx index a116920b1..a55a2755c 100644 --- a/src/protocol/RangeArg.hxx +++ b/src/protocol/RangeArg.hxx @@ -25,7 +25,7 @@ struct RangeArg { unsigned start, end; - static constexpr RangeArg All() { + static constexpr RangeArg All() noexcept { return { 0, std::numeric_limits::max() }; } -- cgit v1.2.3