1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some CoreGraphics image issues in the latest iOS and MacOS SDKs

This commit is contained in:
Tom Poole 2018-10-03 12:47:41 +01:00
parent 823d5c58e6
commit b66f78bacf
2 changed files with 77 additions and 6 deletions

View file

@ -252,13 +252,13 @@ Image& Image::operator= (const Image& other)
}
Image::Image (Image&& other) noexcept
: image (static_cast<ImagePixelData::Ptr&&> (other.image))
: image (std::move (other.image))
{
}
Image& Image::operator= (Image&& other) noexcept
{
image = static_cast<ImagePixelData::Ptr&&> (other.image);
image = std::move (other.image);
return *this;
}