mirror of
https://github.com/NoelFB/blah.git
synced 2025-07-03 20:15:26 +08:00
Image move operator fix
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user