diff options
| author | Juan Linietsky | 2016-05-21 21:18:16 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-05-21 21:18:16 -0300 |
| commit | a75f8963380a1f6ae8501f21a1d3f3bef8a89d91 (patch) | |
| tree | ae561ded247f81565c8287b6fd4b816f6ec762e6 /bin/tests/test_gdscript.cpp | |
| parent | c195c0df6b36debc870216dd42e49fbda70fa861 (diff) | |
| download | godot-a75f8963380a1f6ae8501f21a1d3f3bef8a89d91.tar.gz godot-a75f8963380a1f6ae8501f21a1d3f3bef8a89d91.tar.zst godot-a75f8963380a1f6ae8501f21a1d3f3bef8a89d91.zip | |
Diffstat (limited to 'bin/tests/test_gdscript.cpp')
| -rw-r--r-- | bin/tests/test_gdscript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/tests/test_gdscript.cpp b/bin/tests/test_gdscript.cpp index 4578f5aa0..4457d70b3 100644 --- a/bin/tests/test_gdscript.cpp +++ b/bin/tests/test_gdscript.cpp @@ -487,12 +487,12 @@ static String _disassemble_addr(const Ref<GDScript>& p_script,const GDFunction& static void _disassemble_class(const Ref<GDScript>& p_class,const Vector<String>& p_code) { - const Map<StringName,GDFunction>& mf = p_class->debug_get_member_functions(); + const Map<StringName,GDFunction*>& mf = p_class->debug_get_member_functions(); - for(const Map<StringName,GDFunction>::Element *E=mf.front();E;E=E->next()) { + for(const Map<StringName,GDFunction*>::Element *E=mf.front();E;E=E->next()) { - const GDFunction &func=E->get(); + const GDFunction &func=*E->get(); const int *code = func.get_code(); int codelen=func.get_code_size(); String defargs; |
