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:
parent
823d5c58e6
commit
b66f78bacf
2 changed files with 77 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue