Replace std::size usage with std_size to avoid <iterator> include.

This commit is contained in:
Lukas Tenbrink 2025-10-03 20:02:38 +02:00
parent 6d33ad2917
commit 1db0a60dc0
40 changed files with 69 additions and 66 deletions

View file

@ -497,7 +497,7 @@ TEST_SUITE("[TextServer]") {
{ U"test\r test", { 0, 5, 5, 10 } },
{ U"test\r test \r test", { 0, 5, 5, 12, 12, 17 } },
};
for (size_t j = 0; j < std::size(cases); j++) {
for (size_t j = 0; j < std_size(cases); j++) {
RID ctx = ts->create_shaped_text();
CHECK_FALSE_MESSAGE(ctx == RID(), "Creating text buffer failed.");
bool ok = ts->shaped_text_add_string(ctx, cases[j].text, font, 16);