mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-25 16:18:57 +08:00
Image move operator fix
This commit is contained in:
parent
04f6257b75
commit
e65752f30b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user