Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-03-06 16:16:45 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-03-06 16:18:26 +0300
commit0e995e0bfe51614e1a3ed75e8e80fa194a38d4aa (patch)
treeedf003f651e017f1e63015c925286469c45b8c02 /intern/cycles/render/graph.h
parentb498db06eb43f1e036f16cb346bf4cbb6d20e6d5 (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.h4
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); \