diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-06 16:16:45 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-06 16:18:26 +0300 |
commit | 0e995e0bfe51614e1a3ed75e8e80fa194a38d4aa (patch) | |
tree | edf003f651e017f1e63015c925286469c45b8c02 /intern/cycles/render/graph.h | |
parent | b498db06eb43f1e036f16cb346bf4cbb6d20e6d5 (diff) |
Cycles: Fix strict -Wpedantic warnings with GCC
Patch by Stefan Werner, thanks!
Diffstat (limited to 'intern/cycles/render/graph.h')
-rw-r--r-- | intern/cycles/render/graph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/render/graph.h b/intern/cycles/render/graph.h index 780fdf49ca4..06524d3fa13 100644 --- a/intern/cycles/render/graph.h +++ b/intern/cycles/render/graph.h @@ -201,14 +201,14 @@ public: /* Node definition utility macros */ #define SHADER_NODE_CLASS(type) \ - NODE_DECLARE; \ + NODE_DECLARE \ type(); \ virtual ShaderNode *clone() const { return new type(*this); } \ virtual void compile(SVMCompiler& compiler); \ virtual void compile(OSLCompiler& compiler); \ #define SHADER_NODE_NO_CLONE_CLASS(type) \ - NODE_DECLARE; \ + NODE_DECLARE \ type(); \ virtual void compile(SVMCompiler& compiler); \ virtual void compile(OSLCompiler& compiler); \ |