diff options
author | crupest <crupest@outlook.com> | 2020-04-19 19:54:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-19 19:54:44 +0800 |
commit | 494d2db1c1203acc9d9f2b127b75c6df6160057a (patch) | |
tree | a0e4eaf7540ac4af3b50baf085113122ef2ca651 /include/cru/platform/graph_base.hpp | |
parent | 76f62be24b7e612b1f6880f9d7b0ddc07a8d38eb (diff) | |
download | cru-494d2db1c1203acc9d9f2b127b75c6df6160057a.tar.gz cru-494d2db1c1203acc9d9f2b127b75c6df6160057a.tar.bz2 cru-494d2db1c1203acc9d9f2b127b75c6df6160057a.zip |
...
Diffstat (limited to 'include/cru/platform/graph_base.hpp')
-rw-r--r-- | include/cru/platform/graph_base.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/platform/graph_base.hpp b/include/cru/platform/graph_base.hpp index 98ac3993..f25a7baf 100644 --- a/include/cru/platform/graph_base.hpp +++ b/include/cru/platform/graph_base.hpp @@ -219,7 +219,7 @@ struct TextRange final { } constexpr TextRange() = default; - constexpr TextRange(const gsl::index position, const gsl::index count) + constexpr TextRange(const gsl::index position, const gsl::index count = 0) : position(position), count(count) {} gsl::index GetEnd() const { return position + count; } |