|
|
|
@ -61,11 +61,15 @@ void ImageDataTest::construct() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void ImageDataTest::constructCopy() { |
|
|
|
void ImageDataTest::constructCopy() { |
|
|
|
|
|
|
|
#ifndef CORRADE_GCC44_COMPATIBILITY |
|
|
|
CORRADE_VERIFY(!(std::is_constructible<Trade::ImageData2D, const Trade::ImageData2D&>::value)); |
|
|
|
CORRADE_VERIFY(!(std::is_constructible<Trade::ImageData2D, const Trade::ImageData2D&>::value)); |
|
|
|
/* GCC 4.6 doesn't have std::is_assignable */ |
|
|
|
/* GCC 4.6 doesn't have std::is_assignable */ |
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
CORRADE_VERIFY(!(std::is_assignable<Trade::ImageData2D, const Trade::ImageData2D&>{})); |
|
|
|
CORRADE_VERIFY(!(std::is_assignable<Trade::ImageData2D, const Trade::ImageData2D&>{})); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
CORRADE_SKIP("Type traits needed to test this are not available on GCC 4.4."); |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void ImageDataTest::constructMove() { |
|
|
|
void ImageDataTest::constructMove() { |
|
|
|
|