| 157 | return false; |
| 158 | } |
| 159 | virtual AbstractKernel* clone() const |
| 160 | { |
| 161 | std::vector<std::unique_ptr<AbstractKernel>> ks; |
| 162 | for (auto& k : kernels_) { |
| 163 | ks.emplace_back(k->clone()); |
| 164 | } |
| 165 | // @todo ugly |
| 166 | return new HybridKernel(geometry_library(), file_, const_cast<Settings&>(settings()), std::move(ks)); |
| 167 | } |
| 168 | }; |
| 169 | |
| 170 | inline std::unique_ptr<AbstractKernel> construct(IfcParse::IfcFile* file, const std::string& geometry_library, Settings& conv_settings) { |
no test coverage detected