Merge pull request #115093 from Ivorforce/hashmap-explicit-copy

Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
This commit is contained in:
Rémi Verschelde
2026-01-31 22:50:51 +01:00
30 changed files with 34 additions and 35 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ void EditorStandardSyntaxHighlighter::_update_cache() {
}
/* Autoloads. */
HashMap<StringName, ProjectSettings::AutoloadInfo> autoloads = ProjectSettings::get_singleton()->get_autoload_list();
HashMap<StringName, ProjectSettings::AutoloadInfo> autoloads(ProjectSettings::get_singleton()->get_autoload_list());
for (const KeyValue<StringName, ProjectSettings::AutoloadInfo> &E : autoloads) {
const ProjectSettings::AutoloadInfo &info = E.value;
if (info.is_singleton) {