Change copy constructors of HashMap and AHashMap from implicit to explicit.

This commit is contained in:
Lukas Tenbrink committed 2026-01-21 13:01:23 +01:00
1 parent 741fb8a306
commit 1825e89787
30 files changed
+34 -35

No files matched your search

+1 -1
View File
@@ -1123,7 +1123,7 @@ static void _list_available_types(bool p_inherit_only, GDScriptParser::Completio
}
// Autoload singletons
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;