Clone the plugin
| 227 | |
| 228 | // Clone the plugin |
| 229 | IPluginV2DynamicExt* ScatterND::clone() const noexcept |
| 230 | { |
| 231 | try |
| 232 | { |
| 233 | // Create a new instance |
| 234 | ScatterND* plugin = new ScatterND(); |
| 235 | plugin->setPluginNamespace(mPluginNamespace.c_str()); |
| 236 | return plugin; |
| 237 | } |
| 238 | catch (std::exception const& e) |
| 239 | { |
| 240 | caughtError(e); |
| 241 | } |
| 242 | return nullptr; |
| 243 | } |
| 244 | |
| 245 | ScatterNDPluginCreator::ScatterNDPluginCreator() |
| 246 | { |
nothing calls this directly
no test coverage detected