| 100 | } |
| 101 | |
| 102 | IPluginV2Ext* SpecialSlice::clone() const noexcept |
| 103 | { |
| 104 | try |
| 105 | { |
| 106 | auto plugin = new SpecialSlice(*this); |
| 107 | plugin->setPluginNamespace(mNameSpace.c_str()); |
| 108 | return plugin; |
| 109 | } |
| 110 | catch (std::exception const& e) |
| 111 | { |
| 112 | caughtError(e); |
| 113 | } |
| 114 | return nullptr; |
| 115 | } |
| 116 | |
| 117 | void SpecialSlice::setPluginNamespace(char const* libNamespace) noexcept |
| 118 | { |
nothing calls this directly
no test coverage detected