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() }; }