From 0e995e0bfe51614e1a3ed75e8e80fa194a38d4aa Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 6 Mar 2017 14:16:45 +0100 Subject: Cycles: Fix strict -Wpedantic warnings with GCC Patch by Stefan Werner, thanks! --- intern/cycles/render/graph.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/cycles/render/graph.h') 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); \ -- cgit v1.2.3