Codechange: Replace assert_compile macro with static_assert
This commit is contained in:
@@ -620,4 +620,4 @@ static const NIFeature * const _nifeatures[] = {
|
||||
&_nif_tramtype, // GSF_TRAMTYPES
|
||||
&_nif_town, // GSF_FAKE_TOWNS
|
||||
};
|
||||
assert_compile(lengthof(_nifeatures) == GSF_FAKE_END);
|
||||
static_assert(lengthof(_nifeatures) == GSF_FAKE_END);
|
||||
|
Reference in New Issue
Block a user