diff --git a/include/genimg/methods.hh b/include/genimg/methods.hh index 3a9ad5f..ff1aa1f 100644 --- a/include/genimg/methods.hh +++ b/include/genimg/methods.hh @@ -30,35 +30,9 @@ class ImageManipulator { int const t_width, int const t_height); - /** - * \brief Copy assignment operator - * - * Copy assignment operator, will copy all of the input’s members except for - * its mutex, a new one will be generated. - * - * \param[in] other Element to copy - * \return ImageManipulator - */ - [[nodiscard]] inline auto operator=(const ImageManipulator& other) - -> ImageManipulator - { - return ImageManipulator(other); - } + [[nodiscard]] auto operator=(ImageManipulator& other) = delete; - /** - * \brief Move assignment operator - * - * Move assignment operator, will move all of the input’s members except for - * its mutex, a new one will be generated. - * - * \param[in] other Element to move - * \return ImageManipulator - */ - [[nodiscard]] inline auto operator=(ImageManipulator&& other) noexcept - -> ImageManipulator - { - return ImageManipulator{std::move(other)}; - } + [[nodiscard]] auto operator=(ImageManipulator&& other) noexcept = delete; /// \brief Execute the nth method on the current object void exec_method(int const t_nb_method,