[Bf-blender-cvs] [8b777f5acfd] functions: function should not be copied

Jacques Lucke noreply at git.blender.org
Tue Mar 26 11:22:13 CET 2019


Commit: 8b777f5acfd2957b629f90e34b86bdd9deaba8b7
Author: Jacques Lucke
Date:   Tue Mar 26 09:51:38 2019 +0100
Branches: functions
https://developer.blender.org/rB8b777f5acfd2957b629f90e34b86bdd9deaba8b7

function should not be copied

===================================================================

M	source/blender/functions/core/function.hpp

===================================================================

diff --git a/source/blender/functions/core/function.hpp b/source/blender/functions/core/function.hpp
index e4eed570e3d..17360d81ae2 100644
--- a/source/blender/functions/core/function.hpp
+++ b/source/blender/functions/core/function.hpp
@@ -37,6 +37,8 @@ namespace FN {
 
 	class Function final : public RefCountedBase {
 	public:
+		Function(Function &fn) = delete;
+
 		Function(const std::string &name, const Signature &signature)
 			: m_name(name), m_signature(signature) {}



More information about the Bf-blender-cvs mailing list