xo-reflect: bugfix is_i64 on linux (gcc / wsl2)
This commit is contained in:
parent
dc26b97802
commit
ecbfc79c1d
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue