diff options
author | Nhiqill <nhiqill@gmail.com> | 2020-07-27 16:36:56 -0400 |
---|---|---|
committer | Nhiqill <nhiqill@gmail.com> | 2020-07-27 16:36:56 -0400 |
commit | 42d1b4f38921af356e8912cf995cf2b5f73c3cbe (patch) | |
tree | 0edff51c57e2b05f033ba8fed4b6c5d742ee0fef /modules/mono/mono_gd | |
parent | 0500fa1b730200994d77529c3dc7583912297da3 (diff) |
Pop from front to avoid infinite loop with nested classes
Diffstat (limited to 'modules/mono/mono_gd')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_assembly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_assembly.cpp b/modules/mono/mono_gd/gd_mono_assembly.cpp index a170fd36e7..9dbeee57ce 100644 --- a/modules/mono/mono_gd/gd_mono_assembly.cpp +++ b/modules/mono/mono_gd/gd_mono_assembly.cpp @@ -425,7 +425,7 @@ GDMonoClass *GDMonoAssembly::get_object_derived_class(const StringName &p_class) while (!nested_classes.empty()) { GDMonoClass *current_nested = nested_classes.front()->get(); - nested_classes.pop_back(); + nested_classes.pop_front(); void *iter = nullptr; |