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

@@ -15,7 +15,7 @@ enzo::nt::OpId enzo::nt::NetworkManager::addOperator()
{
maxOpId_++;
gopStore_.emplace(maxOpId_, std::make_unique<GeometryOperator>(maxOpId_, std::make_unique<GOP_test>(maxOpId_)));
gopStore_.emplace(maxOpId_, std::make_unique<GeometryOperator>(maxOpId_, &GOP_test::ctor));
std::cout << "adding operator " << maxOpId_ << "\n";
return maxOpId_;