diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-12-18 07:46:41 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-12-18 20:36:34 +0300 |
commit | 4c3f57ffa71a2402c8fd42ec4691727b5f209f7e (patch) | |
tree | 3b11aa9a841a75bcdff2d42916217e9433de46b1 /source/blender/nodes/NOD_socket_declarations.hh | |
parent | 3471b0016cdf7533d345cb39036cc2401860d5f0 (diff) |
Cleanup: compiler warnings with clang
Includes use of memcpy to avoid warnings about deprecated members.
Diffstat (limited to 'source/blender/nodes/NOD_socket_declarations.hh')
-rw-r--r-- | source/blender/nodes/NOD_socket_declarations.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/NOD_socket_declarations.hh b/source/blender/nodes/NOD_socket_declarations.hh index 3fb21a4263d..c0ba949e337 100644 --- a/source/blender/nodes/NOD_socket_declarations.hh +++ b/source/blender/nodes/NOD_socket_declarations.hh @@ -231,7 +231,7 @@ class Shader : public SocketDeclaration { bNodeSocket &build(bNodeTree &ntree, bNode &node) const override; bool matches(const bNodeSocket &socket) const override; - bool can_connect(const bNodeSocket &socket) const; + bool can_connect(const bNodeSocket &socket) const override; }; class ShaderBuilder : public SocketDeclarationBuilder<Shader> { |