Image move operator fix

This commit is contained in:
Noel Berry 2021-05-09 15:08:59 -07:00
parent 04f6257b75
commit e65752f30b

View File

@ -125,6 +125,8 @@ Image::Image(Image&& src) noexcept
Image& Image::operator=(Image&& src) noexcept Image& Image::operator=(Image&& src) noexcept
{ {
dispose();
width = src.width; width = src.width;
height = src.height; height = src.height;
pixels = src.pixels; pixels = src.pixels;