diff options
Diffstat (limited to 'include/cru/base/Range.h')
| -rw-r--r-- | include/cru/base/Range.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/base/Range.h b/include/cru/base/Range.h index 44c5aca0..a2e15cd3 100644 --- a/include/cru/base/Range.h +++ b/include/cru/base/Range.h @@ -32,6 +32,8 @@ struct Range final { return Range::FromTwoSides(coerce(GetStart()), coerce(GetEnd())); } + constexpr bool operator==(const Range& other) const = default; + Index position = 0; Index count = 0; }; |
