diff --git a/tests/UnitTests/CoreGraphics.drawing/DrawingTest.cpp b/tests/UnitTests/CoreGraphics.drawing/DrawingTest.cpp index ecd99d8631..4f5b694eed 100644 --- a/tests/UnitTests/CoreGraphics.drawing/DrawingTest.cpp +++ b/tests/UnitTests/CoreGraphics.drawing/DrawingTest.cpp @@ -219,4 +219,4 @@ template class WhiteBackgroundTest>>; template class UIKitMimicTest>>; template class UIKitMimicTest>>; -template class UIKitMimicTest>>; \ No newline at end of file +template class UIKitMimicTest>>; diff --git a/tests/unittests/CoreGraphics.drawing/ImageComparison.h b/tests/unittests/CoreGraphics.drawing/ImageComparison.h index fb0f2a540f..7164514621 100644 --- a/tests/unittests/CoreGraphics.drawing/ImageComparison.h +++ b/tests/unittests/CoreGraphics.drawing/ImageComparison.h @@ -50,6 +50,8 @@ struct ImageDelta { ImageDelta(ImageComparisonResult result, size_t differences, CGImageRef deltaImage) : result(result), differences(differences), deltaImage(CGImageRetain(deltaImage)) { } + + ImageDelta(ImageDelta&& other) : result(other.result), differences(other.differences), deltaImage(other.deltaImage.release()) {} }; class ImageComparator { @@ -61,4 +63,4 @@ template > class PixelByPixelImageComparator : public ImageComparator { public: ImageDelta CompareImages(CGImageRef left, CGImageRef right) override; -}; \ No newline at end of file +};