summaryrefslogtreecommitdiffhomepage
path: root/entity/erased-constraints.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'entity/erased-constraints.hpp')
-rw-r--r--entity/erased-constraints.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/entity/erased-constraints.hpp b/entity/erased-constraints.hpp
index c77d8166..4d38f456 100644
--- a/entity/erased-constraints.hpp
+++ b/entity/erased-constraints.hpp
@@ -6,7 +6,7 @@ namespace floormat::entities::erased_constraints {
struct range final
{
- using U = std::size_t;
+ using U = size_t;
using I = std::make_signed_t<U>;
enum type_ : unsigned char {
type_none,
@@ -30,8 +30,8 @@ struct range final
};
struct max_length final {
- std::size_t value = std::size_t(-1);
- constexpr operator std::size_t() const { return value; }
+ size_t value = size_t(-1);
+ constexpr operator size_t() const { return value; }
};
struct group final {