xo-reflect: bugfix is_i64 on linux (gcc / wsl2)

This commit is contained in:
Roland Conybeare 2025-07-27 14:31:39 -04:00
commit ecbfc79c1d

View file

@ -257,9 +257,11 @@ namespace xo {
bool bool
TypeDescrBase::is_i64() const TypeDescrBase::is_i64() const
{ {
static_assert(sizeof(long long) == 8); // FIXME: on apple/clang may need to use long long
return Reflect::is_native<long long>(this); static_assert(sizeof(std::int64_t) == 8);
return Reflect::is_native<std::int64_t>(this);
} }
bool bool