protocol/RangeArg: eliminate SetAll()
This commit is contained in:
@@ -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() };
|
||||
}
|
||||
|
Reference in New Issue
Block a user