Merge pull request #115646 from Ivorforce/list-explicit-copy

Change `List` copy constructor from implicit to explicit.
This commit is contained in:
Thaddeus Crews
2026-02-16 15:02:34 -06:00
20 changed files with 29 additions and 32 deletions
+1 -1
View File
@@ -6533,7 +6533,7 @@ void GDScriptAnalyzer::resolve_pending_lambda_bodies() {
GDScriptParser::LambdaNode *previous_lambda = current_lambda;
bool previous_static_context = static_context;
List<GDScriptParser::LambdaNode *> lambdas = pending_body_resolution_lambdas;
List<GDScriptParser::LambdaNode *> lambdas = std::move(pending_body_resolution_lambdas);
pending_body_resolution_lambdas.clear();
for (GDScriptParser::LambdaNode *lambda : lambdas) {