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:
Diffstat (limited to 'intern/cycles/graph/node_type.h')
-rw-r--r--intern/cycles/graph/node_type.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/graph/node_type.h b/intern/cycles/graph/node_type.h
index a4461ec7abb..a79d44b82f3 100644
--- a/intern/cycles/graph/node_type.h
+++ b/intern/cycles/graph/node_type.h
@@ -153,12 +153,12 @@ struct NodeType {
template<typename T> const NodeType *structname::register_type()
#define NODE_ABSTRACT_DECLARE \
- template<typename T> static const NodeType *register_type(); \
- static const NodeType *node_type;
+ template<typename T> static const NodeType *register_base_type(); \
+ static const NodeType *node_base_type;
#define NODE_ABSTRACT_DEFINE(structname) \
- const NodeType *structname::node_type = structname::register_type<structname>(); \
- template<typename T> const NodeType *structname::register_type()
+ const NodeType *structname::node_base_type = structname::register_base_type<structname>(); \
+ template<typename T> const NodeType *structname::register_base_type()
/* Sock Definition Macros */