aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/GraphBase.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/GraphBase.hpp')
-rw-r--r--include/cru/platform/GraphBase.hpp1
1 files changed, 1 insertions, 0 deletions
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 {