mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
This commit is contained in:
commit
d1d28c0bcf
39 changed files with 67 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