diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-19 13:34:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-19 13:44:32 +0100 |
commit | d94d56bb395f64a819c72fe5d09228ec31e0dd93 (patch) | |
tree | 1c09f13b7a069d4a4c097a8f84b23e61bf782b5c /entity/constraints.hpp | |
parent | 0474ef756cd7462b990da7b4703ad3cc6ea69419 (diff) |
entity: wip constraints
Diffstat (limited to 'entity/constraints.hpp')
-rw-r--r-- | entity/constraints.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/constraints.hpp b/entity/constraints.hpp index f629b149..f8434bd7 100644 --- a/entity/constraints.hpp +++ b/entity/constraints.hpp @@ -50,7 +50,7 @@ template<typename T> constexpr std::pair<T, T> range::convert() const } struct length final { - std::size_t value = (std::size_t)-1; + std::size_t value = std::numeric_limits<std::size_t>::max(); }; struct group final { |