diff options
author | Jacques Lucke <jacques@blender.org> | 2021-05-25 14:10:30 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-05-25 14:10:44 +0300 |
commit | 405534c7560ed96efa92a3a392a5ee55e4447b3a (patch) | |
tree | f491e779306502c91624a82e5e56bee69f8cb173 /source/blender | |
parent | 768d4c6cfefe799f5c2307fcf5fc1f90492a843f (diff) |
Cleanup: remove unnecessary lambda capture
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes_evaluator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc index 8c000a536d5..a5c6d0abce0 100644 --- a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc +++ b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc @@ -1025,7 +1025,7 @@ class GeometryNodesEvaluator { /* Get all origin sockets, because we have to tag those as required as well. */ Vector<DSocket> origin_sockets; input_socket.foreach_origin_socket( - [&, this](const DSocket origin_socket) { origin_sockets.append(origin_socket); }); + [&](const DSocket origin_socket) { origin_sockets.append(origin_socket); }); if (origin_sockets.is_empty()) { /* If there are no origin sockets, just load the value from the socket directly. */ @@ -1078,7 +1078,7 @@ class GeometryNodesEvaluator { } /* Notify origin nodes that might want to set its inputs as unused as well. */ - socket.foreach_origin_socket([&, this](const DSocket origin_socket) { + socket.foreach_origin_socket([&](const DSocket origin_socket) { if (origin_socket->is_input()) { /* Values from these sockets are loaded directly from the sockets, so there is no node to * notify. */ |