diff options
Diffstat (limited to 'intern/cycles/render/graph.h')
-rw-r--r-- | intern/cycles/render/graph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/graph.h b/intern/cycles/render/graph.h index 24de06123ca..5102b182593 100644 --- a/intern/cycles/render/graph.h +++ b/intern/cycles/render/graph.h @@ -356,7 +356,7 @@ class ShaderGraph : public NodeOwner { /* This function is used to create a node of a specified type instead of * calling 'new', and sets the graph as the owner of the node. */ - template<typename T, typename... Args> T *create_node(Args &&... args) + template<typename T, typename... Args> T *create_node(Args &&...args) { T *node = new T(args...); node->set_owner(this); |