Skip to content

Commit 16805d1

Browse files
authored
Fix Image warning
1 parent b3891b5 commit 16805d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/Image.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ class Image : public ::Image {
149149

150150
Unload();
151151
set(other.Copy());
152+
153+
return *this;
152154
}
153155

154156
Image& operator=(Image&& other) {

0 commit comments

Comments
 (0)