diff --git a/include/Image.hpp b/include/Image.hpp index 8c93efb..0729f69 100644 --- a/include/Image.hpp +++ b/include/Image.hpp @@ -149,6 +149,8 @@ class Image : public ::Image { Unload(); set(other.Copy()); + + return *this; } Image& operator=(Image&& other) {