diff --git a/src/Magnum/DebugTools/CompareImage.cpp b/src/Magnum/DebugTools/CompareImage.cpp index a98360675..b715aa3d5 100644 --- a/src/Magnum/DebugTools/CompareImage.cpp +++ b/src/Magnum/DebugTools/CompareImage.cpp @@ -93,6 +93,7 @@ std::tuple, Float, Float> calculateImageDelta(const ImageView case PixelFormat::second: \ max = calculateImageDelta(actual, expected, delta); \ break; + /* LCOV_EXCL_START */ _d(R8Unorm, R8UI, 1, UnsignedByte) _d(RG8Unorm, RG8UI, 2, UnsignedByte) _d(RGB8Unorm, RGB8UI, 3, UnsignedByte) @@ -121,6 +122,7 @@ std::tuple, Float, Float> calculateImageDelta(const ImageView _c(RG32F, 2, Float) _c(RGB32F, 3, Float) _c(RGBA32F, 4, Float) + /* LCOV_EXCL_STOP */ #undef _d #undef _c @@ -250,6 +252,7 @@ void printPixelAt(Debug& out, const char* const pixels, const std::size_t stride case PixelFormat::second: \ out << pixelAt(pixels, stride, pos); \ break; + /* LCOV_EXCL_START */ _d(R8Unorm, R8UI, 1, UnsignedByte) _d(RG8Unorm, RG8UI, 2, UnsignedByte) _c(RGB8UI, 3, UnsignedByte) @@ -279,6 +282,7 @@ void printPixelAt(Debug& out, const char* const pixels, const std::size_t stride _c(RG32F, 2, Float) _c(RGB32F, 3, Float) _c(RGBA32F, 4, Float) + /* LCOV_EXCL_STOP */ #undef _d #undef _c @@ -346,7 +350,7 @@ void printPixelAt(Debug& out, const char* const pixels, const std::size_t stride CORRADE_IGNORE_DEPRECATED_POP #endif /* Already handled by a printing assert before */ - CORRADE_ASSERT_UNREACHABLE(); + CORRADE_ASSERT_UNREACHABLE(); /* LCOV_EXCL_LINE */ } }