diff --git a/cpp/oneapi/dal/detail/sparse_matrix_handle_impl.hpp b/cpp/oneapi/dal/detail/sparse_matrix_handle_impl.hpp index 9f382b3dc2a..d644d89dae5 100644 --- a/cpp/oneapi/dal/detail/sparse_matrix_handle_impl.hpp +++ b/cpp/oneapi/dal/detail/sparse_matrix_handle_impl.hpp @@ -33,6 +33,10 @@ class sparse_matrix_handle_impl { virtual ~sparse_matrix_handle_impl(); + sparse_matrix_handle_impl(sparse_matrix_handle_impl& other) = delete; + + sparse_matrix_handle_impl& operator=(sparse_matrix_handle_impl& other) = delete; + inline mkl::sparse::matrix_handle_t& get() { return handle_; }