Skip to content

Commit

Permalink
Fix lambda capture warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Jul 26, 2024
1 parent 0d85200 commit af40bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/editor/graph/pins/graph_node_pin_node_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ void OrchestratorGraphNodePinNodePath::_show_property_dialog()
accept->set_exclusive(true);
add_child(accept);

accept->connect("canceled", callable_mp_lambda(this, [=, this] { accept->queue_free(); }));
accept->connect("confirmed", callable_mp_lambda(this, [=, this] { accept->queue_free(); }));
accept->connect("canceled", callable_mp_lambda(this, [&] { accept->queue_free(); }));
accept->connect("confirmed", callable_mp_lambda(this, [&] { accept->queue_free(); }));
accept->popup_centered();
}
return;
Expand Down

0 comments on commit af40bee

Please sign in to comment.