[Bf-blender-cvs] [aa31d02b3b7] temp-derived-node-tree-refactor: cleanup
Jacques Lucke
noreply at git.blender.org
Thu Mar 4 16:55:55 CET 2021
Commit: aa31d02b3b70cb89073e7c3fb8ca52493f285fdb
Author: Jacques Lucke
Date: Thu Mar 4 16:39:34 2021 +0100
Branches: temp-derived-node-tree-refactor
https://developer.blender.org/rBaa31d02b3b70cb89073e7c3fb8ca52493f285fdb
cleanup
===================================================================
M source/blender/nodes/NOD_XXX_node_tree.hh
===================================================================
diff --git a/source/blender/nodes/NOD_XXX_node_tree.hh b/source/blender/nodes/NOD_XXX_node_tree.hh
index e39378a35ab..62b9fce54dc 100644
--- a/source/blender/nodes/NOD_XXX_node_tree.hh
+++ b/source/blender/nodes/NOD_XXX_node_tree.hh
@@ -59,12 +59,11 @@ class XXXNode {
const XXXNodeTreeContext *context() const;
const NodeRef *node_ref() const;
+ const NodeRef *operator->() const;
friend bool operator==(const XXXNode &a, const XXXNode &b);
friend bool operator!=(const XXXNode &a, const XXXNode &b);
-
operator bool() const;
- const NodeRef *operator->() const;
uint64_t hash() const;
};
@@ -82,12 +81,11 @@ class XXXSocket {
const XXXNodeTreeContext *context() const;
const SocketRef *socket_ref() const;
+ const SocketRef *operator->() const;
friend bool operator==(const XXXSocket &a, const XXXSocket &b);
friend bool operator!=(const XXXSocket &a, const XXXSocket &b);
-
operator bool() const;
- const SocketRef *operator->() const;
uint64_t hash() const;
};
@@ -99,7 +97,6 @@ class XXXInputSocket : public XXXSocket {
explicit XXXInputSocket(const XXXSocket &base_socket);
const InputSocketRef *socket_ref() const;
-
const InputSocketRef *operator->() const;
XXXOutputSocket get_corresponding_group_node_output() const;
@@ -115,7 +112,6 @@ class XXXOutputSocket : public XXXSocket {
explicit XXXOutputSocket(const XXXSocket &base_socket);
const OutputSocketRef *socket_ref() const;
-
const OutputSocketRef *operator->() const;
XXXInputSocket get_corresponding_group_node_input() const;
More information about the Bf-blender-cvs
mailing list