summaryrefslogtreecommitdiffhomepage
path: root/entity/constraints.hpp
diff options
context:
space:
mode:
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 {