diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-22 16:55:53 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-22 16:55:53 +0800 |
| commit | 7ce185d5a3fcfad8c8f746f95f3d50a8829faac4 (patch) | |
| tree | c1f00529a1286748836332b62ae79404b3a83f36 /include/cru/base/Range.h | |
| parent | d97c14a922b60e89a9892e519b95b7e793aff543 (diff) | |
| download | cru-7ce185d5a3fcfad8c8f746f95f3d50a8829faac4.tar.gz cru-7ce185d5a3fcfad8c8f746f95f3d50a8829faac4.tar.bz2 cru-7ce185d5a3fcfad8c8f746f95f3d50a8829faac4.zip | |
Clean codes. Remove Measure1.
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; }; |
