mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -8466,7 +8466,7 @@ EditorNode::EditorNode() {
|
|||
default_layout->set_value(docks_section, "dock_5", "Inspector,Node,History");
|
||||
|
||||
int hsplits[] = { 0, 270, -270, 0 };
|
||||
DEV_ASSERT((int)std::size(hsplits) == editor_dock_manager->get_hsplit_count());
|
||||
DEV_ASSERT((int)std_size(hsplits) == editor_dock_manager->get_hsplit_count());
|
||||
for (int i = 0; i < editor_dock_manager->get_hsplit_count(); i++) {
|
||||
default_layout->set_value(docks_section, "dock_hsplit_" + itos(i + 1), hsplits[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue