diff --git a/intern/cycles/graph/node.cpp b/intern/cycles/graph/node.cpp index c5b4bb471bb..57f25283f85 100644 --- a/intern/cycles/graph/node.cpp +++ b/intern/cycles/graph/node.cpp @@ -372,7 +372,7 @@ void Node::copy_value(const SocketType &socket, const Node &other, const SocketT array &node_array = get_socket_value>(this, socket); - for (Node *node: node_array) { + for (Node *node : node_array) { node->reference(); }