From dae91af92db2b316cec2db17328e92306b915753 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 8 Dec 2020 08:13:55 -0500 Subject: add upstream 11.4 --- xBRZ/src/xbrz_tools.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xBRZ/src/xbrz_tools.h') diff --git a/xBRZ/src/xbrz_tools.h b/xBRZ/src/xbrz_tools.h index 404849ca..98164678 100644 --- a/xBRZ/src/xbrz_tools.h +++ b/xBRZ/src/xbrz_tools.h @@ -182,10 +182,10 @@ void nearestNeighborScaleOverSource(const PixSrc* src, int srcWidth, int srcHeig /**/ PixTrg* trg, int trgWidth, int trgHeight, int trgPitch /*[bytes]*/, int yFirst, int yLast, PixConverter pixCvrt /*convert PixSrc to PixTrg*/) { - static_assert(std::is_integral::value, "PixSrc* is expected to be cast-able to char*"); - static_assert(std::is_integral::value, "PixTrg* is expected to be cast-able to char*"); + static_assert(std::is_integral_v, "PixSrc* is expected to be cast-able to char*"); + static_assert(std::is_integral_v, "PixTrg* is expected to be cast-able to char*"); - static_assert(std::is_same::value, "PixConverter returning wrong pixel format"); + static_assert(std::is_same_v, "PixConverter returning wrong pixel format"); if (srcPitch < srcWidth * static_cast(sizeof(PixSrc)) || trgPitch < trgWidth * static_cast(sizeof(PixTrg))) -- cgit