Add missing operator.

This commit is contained in:
Bartosz Taudul 2020-07-29 19:13:10 +02:00
parent 7f90a0a84e
commit f367b16dc0

View File

@ -71,6 +71,7 @@ class View
struct RangeSlim struct RangeSlim
{ {
bool operator==( const Range& other ) const { return other.active == active && other.min == min && other.max == max; } bool operator==( const Range& other ) const { return other.active == active && other.min == min && other.max == max; }
bool operator!=( const Range& other ) const { return !(*this == other); }
void operator=( const Range& other ) { active = other.active; min = other.min; max = other.max; } void operator=( const Range& other ) { active = other.active; min = other.min; max = other.max; }
int64_t min, max; int64_t min, max;