diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-05-19 13:26:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 13:26:15 +0200 |
commit | d8093dd27363384c7196dbff7e485f0df2b11894 (patch) | |
tree | b6bf869a55440a666f4bcc17d5e9cd93ff26dbdc /core/io/file_access_pack.cpp | |
parent | 71c40ff4da85a4770958533cdc65f2c9f7ddeaff (diff) | |
parent | 900c676b0282bed83d00834e3c280ac89c2bc94d (diff) | |
download | redot-engine-d8093dd27363384c7196dbff7e485f0df2b11894.tar.gz |
Merge pull request #61173 from LightningAA/update-set-iterators
Diffstat (limited to 'core/io/file_access_pack.cpp')
-rw-r--r-- | core/io/file_access_pack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp index 89efdc4938..595a6e9873 100644 --- a/core/io/file_access_pack.cpp +++ b/core/io/file_access_pack.cpp @@ -406,8 +406,8 @@ Error DirAccessPack::list_dir_begin() { list_dirs.push_back(E.key); } - for (RBSet<String>::Element *E = current->files.front(); E; E = E->next()) { - list_files.push_back(E->get()); + for (const String &E : current->files) { + list_files.push_back(E); } return OK; |