1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Removed ARRAY_COUNT in favor of std::size

This commit is contained in:
Ivan Savenko
2023-04-11 01:29:36 +03:00
parent 506c3d29bc
commit 644f0f4b32
12 changed files with 21 additions and 25 deletions

View File

@@ -260,7 +260,7 @@ void Graphics::loadErmuToPicture()
ERMUtoPicture[idx][etp_idx] = n.String();
idx ++;
}
assert (idx == ARRAY_COUNT(ERMUtoPicture));
assert (idx == std::size(ERMUtoPicture));
etp_idx ++;
}