From bbec59718bf8a824583869126762013112f8e568 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 5 Jul 2020 19:48:49 +0800 Subject: ... --- include/cru/platform/GraphBase.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/cru/platform') diff --git a/include/cru/platform/GraphBase.hpp b/include/cru/platform/GraphBase.hpp index 0d4effd4..28dab1e6 100644 --- a/include/cru/platform/GraphBase.hpp +++ b/include/cru/platform/GraphBase.hpp @@ -249,6 +249,7 @@ struct TextRange final { constexpr TextRange(const gsl::index position, const gsl::index count = 0) : position(position), count(count) {} + gsl::index GetStart() const { return position; } gsl::index GetEnd() const { return position + count; } TextRange Normalize() const { -- cgit v1.2.3