summaryrefslogtreecommitdiff
path: root/platform/osx/godot_window_delegate.mm
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-21 01:06:21 +0200
committerGitHub <noreply@github.com>2022-05-21 01:06:21 +0200
commit8adf04804550957f43c810b13fcce66dd76e5fd8 (patch)
tree2ee58365f1092587277770ceaedfc1e35454acfd /platform/osx/godot_window_delegate.mm
parentf4126cc902b0cbb100bcf1b37ee15df5a8430d21 (diff)
parent45af29da8095af16729955117a165d23e77cd740 (diff)
Merge pull request #61194 from reduz/new-hash-set
Add a new HashSet template
Diffstat (limited to 'platform/osx/godot_window_delegate.mm')
-rw-r--r--platform/osx/godot_window_delegate.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/godot_window_delegate.mm b/platform/osx/godot_window_delegate.mm
index 9f49a6a4e9..521127f01b 100644
--- a/platform/osx/godot_window_delegate.mm
+++ b/platform/osx/godot_window_delegate.mm
@@ -58,7 +58,7 @@
DisplayServerOSX::WindowData &wd = ds->get_window(window_id);
while (wd.transient_children.size()) {
- ds->window_set_transient(wd.transient_children.front()->get(), DisplayServerOSX::INVALID_WINDOW_ID);
+ ds->window_set_transient(*wd.transient_children.begin(), DisplayServerOSX::INVALID_WINDOW_ID);
}
if (wd.transient_parent != DisplayServerOSX::INVALID_WINDOW_ID) {