mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
parent
6d33ad2917
commit
1db0a60dc0
40 changed files with 69 additions and 66 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue