actually, let's delete these operators
This commit is contained in:
parent
cf1eb02507
commit
19935404ba
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user