diff options
author | kobewi <kobewi4e@gmail.com> | 2021-02-04 02:02:06 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-02-04 14:37:52 +0100 |
commit | fb83d905daed6c2a7c4f95712d47815c7ccd8f2e (patch) | |
tree | 090c38558753513186bbd2ff92a93c88ea7d13b4 /editor/plugins | |
parent | 5f8f049ddb1f322d48b35eec27d594d8eb97acd6 (diff) |
Change sort_custom/bsearch_custom to use Callables
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/tile_set_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index deeab2fbc7..5ac7fe262f 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -2173,7 +2173,7 @@ Array TileSetEditor::_get_tiles_in_current_texture(bool sorted) { } } if (sorted) { - a.sort_custom(this, "_sort_tiles"); + a.sort_custom(callable_mp(this, &TileSetEditor::_sort_tiles)); } return a; } |