xo-reflect: bugfix is_i64 on linux (gcc / wsl2)
This commit is contained in:
parent
8d5a9c825f
commit
bbbab9b237
1 changed files with 4 additions and 2 deletions
|
|
@ -257,9 +257,11 @@ namespace xo {
|
|||
bool
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue