| 276 | } |
| 277 | |
| 278 | IPluginV2Ext* PriorBox::clone() const noexcept |
| 279 | { |
| 280 | try |
| 281 | { |
| 282 | PriorBox* obj = new PriorBox(mParam, mH, mW); |
| 283 | obj->setPluginNamespace(mPluginNamespace.c_str()); |
| 284 | return obj; |
| 285 | } |
| 286 | catch (std::exception const& e) |
| 287 | { |
| 288 | caughtError(e); |
| 289 | } |
| 290 | return nullptr; |
| 291 | } |
| 292 | |
| 293 | // Set plugin namespace |
| 294 | void PriorBox::setPluginNamespace(char const* pluginNamespace) noexcept |
nothing calls this directly
no test coverage detected