1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-26 19:19:16 +02:00

Explicitly marking the basemaps is not required

This commit is contained in:
2022-04-24 09:17:28 +02:00
parent 959d08ba94
commit 208e31c6de
6 changed files with 11 additions and 14 deletions

View File

@ -10,6 +10,11 @@ public:
Range() {_min = 0; _max = 0;}
Range(int min, int max) : _min(min), _max(max) {}
bool operator==(const Range &other) const
{return _min == other._min && _max == other._max;}
bool operator!=(const Range &other) const
{return _min != other._min || _max != other._max;}
int min() const {return _min;}
int max() const {return _max;}
int size() const {return (_max - _min);}