This commit is contained in:
Бранимир Караџић
2024-12-07 22:49:45 -08:00
parent f6baa4bdaf
commit 042ebe8814
31 changed files with 110 additions and 110 deletions

View File

@@ -185,7 +185,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
"GamepadStart",
"GamepadGuide",
};
BX_STATIC_ASSERT(Key::Count == BX_COUNTOF(s_keyName) );
static_assert(Key::Count == BX_COUNTOF(s_keyName) );
const char* getName(Key::Enum _key)
{
@@ -455,7 +455,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
AppI::AppI(const char* _name, const char* _description, const char* _url)
{
BX_STATIC_ASSERT(sizeof(AppInternal) <= sizeof(m_internal) );
static_assert(sizeof(AppInternal) <= sizeof(m_internal) );
s_offset = BX_OFFSETOF(AppI, m_internal);
AppInternal* ai = (AppInternal*)m_internal;