Currently moving from Gitlab to Gitea at https://labs.phundrak.com. Some features may not work anymore on this Gitlab instance.

actually, let's delete these operators

parent cf1eb025
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment