Change List copy constructor from implicit to explicit.
This commit is contained in:
parent
d48f9d45e2
commit
7072a9a874
20 changed files with 29 additions and 32 deletions
|
|
@ -6531,7 +6531,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue