\brief Deletes the handle if created.
| 55 | |
| 56 | /// \brief Deletes the handle if created. |
| 57 | void reset() noexcept { |
| 58 | if (handle_) { |
| 59 | ResourceHandler<T>::destroyHandle(handle_); |
| 60 | handle_ = 0; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | unique_handle(const unique_handle &other) noexcept = delete; |
| 65 | unique_handle &operator=(unique_handle &other) noexcept = delete; |
no outgoing calls
no test coverage detected