diff options
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; } |