summaryrefslogtreecommitdiffhomepage
path: root/entity/constraints.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-19 13:34:39 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-19 13:44:32 +0100
commitd94d56bb395f64a819c72fe5d09228ec31e0dd93 (patch)
tree1c09f13b7a069d4a4c097a8f84b23e61bf782b5c /entity/constraints.hpp
parent0474ef756cd7462b990da7b4703ad3cc6ea69419 (diff)
entity: wip constraints
Diffstat (limited to 'entity/constraints.hpp')
-rw-r--r--entity/constraints.hpp2
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 {