refactor: improve opDef type passing

This commit is contained in:
parker
2025-07-11 13:53:32 +01:00
parent 952168d875
commit 52e9888b2a
4 changed files with 8 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ void connectOperators(enzo::nt::OpId inputOpId, unsigned int inputIndex, enzo::n
class GeometryOperator
{
public:
GeometryOperator(enzo::nt::OpId opId, std::unique_ptr<enzo::nt::GeometryOpDef> opDef);
GeometryOperator(enzo::nt::OpId opId, enzo::nt::GeometryOpDef* (*ctorFunc)(enzo::nt::OpId));
// disable copying
GeometryOperator(const GeometryOperator&) = delete;