From e951924b3329daa5ad584daf3be365d5ad2da7b6 Mon Sep 17 00:00:00 2001 From: Iliya Katueshenock Date: Thu, 31 Aug 2023 16:01:29 +0200 Subject: [PATCH] Cleanup: forbid implicit copy and move for multi function This avoids accidental copies/moves which are never really intentional. Pull Request: https://projects.blender.org/blender/blender/pulls/110168 --- source/blender/functions/FN_multi_function.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/functions/FN_multi_function.hh b/source/blender/functions/FN_multi_function.hh index 903df2c48a5..d4f61187a1c 100644 --- a/source/blender/functions/FN_multi_function.hh +++ b/source/blender/functions/FN_multi_function.hh @@ -39,7 +39,7 @@ namespace blender::fn::multi_function { -class MultiFunction { +class MultiFunction : NonCopyable, NonMovable { private: const Signature *signature_ref_ = nullptr;