diff options
author | Max Kellermann <max@musicpd.org> | 2021-02-15 19:43:53 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-02-15 19:56:02 +0100 |
commit | 103194e32d1d86042ac41a581386289834469e20 (patch) | |
tree | c357195197eb5f764b9a74309e3c07d8ead249cf /src/protocol | |
parent | 481c330c17b2457d001b03c27edf6f0cde446278 (diff) |
protocol/RangeArg: add missing `noexcept`
Diffstat (limited to 'src/protocol')
-rw-r--r-- | src/protocol/RangeArg.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned>::max() }; } |