Change copy constructors of HashMap and AHashMap from implicit to explicit.
This commit is contained in:
parent
741fb8a306
commit
1825e89787
30 changed files with 34 additions and 35 deletions
|
|
@ -49,7 +49,7 @@
|
|||
namespace GDScriptTests {
|
||||
|
||||
void init_autoloads() {
|
||||
HashMap<StringName, ProjectSettings::AutoloadInfo> autoloads = ProjectSettings::get_singleton()->get_autoload_list();
|
||||
HashMap<StringName, ProjectSettings::AutoloadInfo> autoloads(ProjectSettings::get_singleton()->get_autoload_list());
|
||||
|
||||
// First pass, add the constants so they exist before any script is loaded.
|
||||
for (const KeyValue<StringName, ProjectSettings::AutoloadInfo> &E : ProjectSettings::get_singleton()->get_autoload_list()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue