mirror of
https://github.com/NoelFB/blah.git
synced 2026-10-19 19:09:23 +08:00
Image move operator fix
This commit is contained in:
1 parent
04f6257b75
commit
e65752f30b
1 file changed
+2
@@ -125,6 +125,8 @@ Image::Image(Image&& src) noexcept
|
||||
|
||||
Image& Image::operator=(Image&& src) noexcept
|
||||
{
|
||||
dispose();
|
||||
|
||||
width = src.width;
|
||||
height = src.height;
|
||||
pixels = src.pixels;
|
||||
|
||||
Reference in new issue
Block a user