Commit: 405534c7560ed96efa92a3a392a5ee55e4447b3a
Author: Jacques Lucke
Date:   Tue May 25 13:10:30 2021 +0200
Branches: master
https://developer.blender.org/rB405534c7560ed96efa92a3a392a5ee55e4447b3a

Cleanup: remove unnecessary lambda capture

===================================================================

M       source/blender/modifiers/intern/MOD_nodes_evaluator.cc

===================================================================

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. */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to