1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Replace the old STATIC_ASSERT macro with static_assert

This commit is contained in:
Desour 2023-06-12 22:14:43 +02:00 committed by sfan5
parent 8b108ed5f2
commit 9c348d057e
4 changed files with 8 additions and 20 deletions

View file

@ -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