Cleanup: remove dummy multi function
This commit is contained in:
parent
e5f05bc7a6
commit
c3422c48ad
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue