aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/GraphBase.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-07-05 19:48:49 +0800
committercrupest <crupest@outlook.com>2020-07-05 19:48:49 +0800
commitbbec59718bf8a824583869126762013112f8e568 (patch)
tree1c0917e7c12a7af9ff3482f452a9da684a74ed81 /include/cru/platform/GraphBase.hpp
parentce56ab59a6d68c220fcc47c6977c618eaa43de7a (diff)
downloadcru-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.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 {