summaryrefslogtreecommitdiffhomepage
path: root/test/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/entity.cpp')
-rw-r--r--test/entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/entity.cpp b/test/entity.cpp
index 88598cb2..40b7eb6b 100644
--- a/test/entity.cpp
+++ b/test/entity.cpp
@@ -215,7 +215,7 @@ constexpr void test_constraints()
static_assert(foo.get_group(x) == "foo"_s);
static_assert(m_foo.get_range(x) == constraints::range<int>{});
- static_assert(m_foo.get_max_length(x) == (std::size_t)-1);
+ static_assert(m_foo.get_max_length(x) == (size_t)-1);
static_assert(m_foo.get_group(x) == ""_s);
constexpr auto foo2 = entity::type<int>::field {