[Bf-blender-cvs] [123d9450272] functions: function is noncopyable and nonmovable
Jacques Lucke
noreply at git.blender.org
Fri Sep 27 15:27:43 CEST 2019
Commit: 123d9450272eda7faef0924bc9cf0b053aab206c
Author: Jacques Lucke
Date: Fri Sep 27 15:17:53 2019 +0200
Branches: functions
https://developer.blender.org/rB123d9450272eda7faef0924bc9cf0b053aab206c
function is noncopyable and nonmovable
===================================================================
M source/blender/functions/core/function.hpp
===================================================================
diff --git a/source/blender/functions/core/function.hpp b/source/blender/functions/core/function.hpp
index 045be14ad2d..ee045a4f1df 100644
--- a/source/blender/functions/core/function.hpp
+++ b/source/blender/functions/core/function.hpp
@@ -52,10 +52,8 @@ class FunctionBody : BLI::NonCopyable, BLI::NonMovable {
static const uint BODY_TYPE_AMOUNT = 5;
};
-class Function final {
+class Function final : BLI::NonCopyable, BLI::NonMovable {
public:
- Function(Function &fn) = delete;
-
/**
* Construct a new function. Instead of calling this directly, the FunctionBuilder should be
* used.
More information about the Bf-blender-cvs
mailing list