Remove virtual kind() call out of compile-time loop

This commit is contained in:
Thomas Krijnen
2023-12-19 12:38:22 +01:00
parent ca4781f559
commit 89fd887d9a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ bool ifcopenshell::geometry::kernels::AbstractKernel::convert(const taxonomy::pt
// std::wcout << sss.c_str() << std::endl;
try {
return dispatch_conversion<0>::dispatch(this, item, results);
return dispatch_conversion<0>::dispatch(this, item->kind(), item, results);
} catch (std::exception& e) {
Logger::Error(e, item->instance);
return false;