You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user