diff options
author | crupest <crupest@outlook.com> | 2020-07-05 19:48:49 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-07-05 19:48:49 +0800 |
commit | bbec59718bf8a824583869126762013112f8e568 (patch) | |
tree | 1c0917e7c12a7af9ff3482f452a9da684a74ed81 /include/cru/platform/GraphBase.hpp | |
parent | ce56ab59a6d68c220fcc47c6977c618eaa43de7a (diff) | |
download | cru-bbec59718bf8a824583869126762013112f8e568.tar.gz cru-bbec59718bf8a824583869126762013112f8e568.tar.bz2 cru-bbec59718bf8a824583869126762013112f8e568.zip |
...
Diffstat (limited to 'include/cru/platform/GraphBase.hpp')
-rw-r--r-- | include/cru/platform/GraphBase.hpp | 1 |
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 { |