actually, let's delete these operators

This commit is contained in:
Phuntsok Drak-pa 2019-04-25 03:08:19 +02:00
parent cf1eb02507
commit 19935404ba

View File

@ -30,35 +30,9 @@ class ImageManipulator {
int const t_width, int const t_width,
int const t_height); int const t_height);
/** [[nodiscard]] auto operator=(ImageManipulator& other) = delete;
* \brief Copy assignment operator
*
* Copy assignment operator, will copy all of the inputs 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) noexcept = delete;
* \brief Move assignment operator
*
* Move assignment operator, will move all of the inputs 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)};
}
/// \brief Execute the nth method on the current object /// \brief Execute the nth method on the current object
void exec_method(int const t_nb_method, void exec_method(int const t_nb_method,