summaryrefslogtreecommitdiff
path: root/src/protocol
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-09-02 07:53:32 +0200
committerMax Kellermann <max@musicpd.org>2018-09-02 08:17:22 +0200
commit590687fdea671c964445585b67209bacf5cfe876 (patch)
tree2f0d7fb0b42237ba5ae02eb3a3a56bd7b799bd37 /src/protocol
parent993f8d6a5e4e2fc8a205e853e5f724143fbac788 (diff)
protocol/RangeArg: eliminate SetAll()
Diffstat (limited to 'src/protocol')
-rw-r--r--src/protocol/RangeArg.hxx5
1 files changed, 0 insertions, 5 deletions
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<unsigned>::max();
- }
-
static constexpr RangeArg All() {
return { 0, std::numeric_limits<unsigned>::max() };
}