Skip to content

Commit

Permalink
Remove tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki committed Mar 18, 2023
1 parent dea5b01 commit 72847d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/LuaBridge/detail/Userdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class UserdataValue : public Userdata
UserdataValue() noexcept
: Userdata()
{
if constexpr (MaxPadding > 0)
if constexpr (MaxPadding > 0)
{
uintptr_t offset = reinterpret_cast<uintptr_t>(&m_storage[0]) % alignof(T);
if (offset > 0)
Expand All @@ -413,7 +413,7 @@ class UserdataValue : public Userdata
assert(offset < MaxPadding);
m_storage[sizeof(m_storage) - 1] = static_cast<unsigned char>(offset);
}
}
}

alignas(AlignType) unsigned char m_storage[sizeof(T) + MaxPadding];
};
Expand Down

0 comments on commit 72847d9

Please sign in to comment.