diff options
author | Jacques Lucke <jacques@blender.org> | 2021-11-17 14:33:07 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-11-17 14:33:18 +0300 |
commit | c3422c48add05324414dcf32a7e4557de5f26d6d (patch) | |
tree | f585cb79e915c5700fd4c74f513b09c8e6811b3f /source/blender | |
parent | e5f05bc7a61dbf1522f5c400c182bae7af413998 (diff) |
Cleanup: remove dummy multi function
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/functions/FN_multi_function.hh | 2 | ||||
-rw-r--r-- | source/blender/functions/intern/multi_function.cc | 24 |
2 files changed, 0 insertions, 26 deletions
diff --git a/source/blender/functions/FN_multi_function.hh b/source/blender/functions/FN_multi_function.hh index 98788025558..c57f6cf574e 100644 --- a/source/blender/functions/FN_multi_function.hh +++ b/source/blender/functions/FN_multi_function.hh @@ -131,8 +131,6 @@ inline MFParamsBuilder::MFParamsBuilder(const MultiFunction &fn, const IndexMask { } -extern const MultiFunction &dummy_multi_function; - namespace multi_function_types { using fn::CPPType; using fn::GMutableSpan; diff --git a/source/blender/functions/intern/multi_function.cc b/source/blender/functions/intern/multi_function.cc index bb657f321ec..43eacdcd2a1 100644 --- a/source/blender/functions/intern/multi_function.cc +++ b/source/blender/functions/intern/multi_function.cc @@ -18,28 +18,4 @@ namespace blender::fn { -class DummyMultiFunction : public MultiFunction { - public: - DummyMultiFunction() - { - static MFSignature signature = create_signature(); - this->set_signature(&signature); - } - - static MFSignature create_signature() - { - MFSignatureBuilder signature{"Dummy"}; - return signature.build(); - } - - void call(IndexMask UNUSED(mask), - MFParams UNUSED(params), - MFContext UNUSED(context)) const override - { - } -}; - -static DummyMultiFunction dummy_multi_function_; -const MultiFunction &dummy_multi_function = dummy_multi_function_; - } // namespace blender::fn |