summaryrefslogtreecommitdiffhomepage
path: root/test/entity.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
commit4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch)
treec0a5d21b8e19fbb60c286faec8e302e6f32b6679 /test/entity.cpp
parent32b8c22828315292857e2cd9909fba620f30ff70 (diff)
pre-declare integer types without cstddef/cstdint
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 {