mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add a new HashSet template
* Intended to replace RBSet in most cases. * Optimized for iteration speed
This commit is contained in:
@@ -726,7 +726,7 @@ void FileSystemDock::_sort_file_info_list(List<FileSystemDock::FileInfo> &r_file
|
||||
|
||||
void FileSystemDock::_update_file_list(bool p_keep_selection) {
|
||||
// Register the previously selected items.
|
||||
RBSet<String> cselection;
|
||||
HashSet<String> cselection;
|
||||
if (p_keep_selection) {
|
||||
for (int i = 0; i < files->get_item_count(); i++) {
|
||||
if (files->is_selected(i)) {
|
||||
|
||||
Reference in New Issue
Block a user