From 590687fdea671c964445585b67209bacf5cfe876 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Sep 2018 07:53:32 +0200 Subject: protocol/RangeArg: eliminate SetAll() --- src/protocol/RangeArg.hxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/protocol') diff --git a/src/protocol/RangeArg.hxx b/src/protocol/RangeArg.hxx index 3eca8a75e..e6a8de8ff 100644 --- a/src/protocol/RangeArg.hxx +++ b/src/protocol/RangeArg.hxx @@ -27,11 +27,6 @@ struct RangeArg { unsigned start, end; - void SetAll() { - start = 0; - end = std::numeric_limits::max(); - } - static constexpr RangeArg All() { return { 0, std::numeric_limits::max() }; } -- cgit v1.2.3