mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Replace the old STATIC_ASSERT macro with static_assert
This commit is contained in:
@@ -99,9 +99,9 @@ static MapgenDesc g_reg_mapgens[] = {
|
||||
{"v6", true},
|
||||
};
|
||||
|
||||
STATIC_ASSERT(
|
||||
static_assert(
|
||||
ARRLEN(g_reg_mapgens) == MAPGEN_INVALID,
|
||||
registered_mapgens_is_wrong_size);
|
||||
"g_reg_mapgens is wrong size");
|
||||
|
||||
////
|
||||
//// Mapgen
|
||||
|
Reference in New Issue
Block a user