Skip to content

Commit

Permalink
Fix lambda unused capture
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Aug 3, 2024
1 parent 46dc432 commit f9892fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/inspector/property_type_button_property.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void OrchestratorEditorPropertyVariableClassification::_search_selected()
confirm->queue_free();
}));

confirm->connect("canceled", callable_mp_lambda(this, [confirm, this] {
confirm->connect("canceled", callable_mp_lambda(this, [confirm] {
if (confirm)
confirm->queue_free();
}));
Expand Down

0 comments on commit f9892fb

Please sign in to comment.