From 7ce185d5a3fcfad8c8f746f95f3d50a8829faac4 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 22 Nov 2025 16:55:53 +0800 Subject: Clean codes. Remove Measure1. --- include/cru/base/Range.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cru/base/Range.h') 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; }; -- cgit v1.2.3