From 835ca352cf015d71c0d72334e2692831f4fee19b Mon Sep 17 00:00:00 2001 From: heckflosse Date: Wed, 7 Mar 2018 18:47:21 +0100 Subject: [PATCH] use C++11 keyword 'alignas' instead of ALIGNED16 macro, issue #4432 --- rtengine/LUT.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtengine/LUT.h b/rtengine/LUT.h index abc2b0bde..a55c5f5bd 100644 --- a/rtengine/LUT.h +++ b/rtengine/LUT.h @@ -102,9 +102,9 @@ protected: private: unsigned int owner; #ifdef __SSE2__ - vfloat maxsv ALIGNED16; - vfloat sizev ALIGNED16; - vint sizeiv ALIGNED16; + alignas(16) vfloat maxsv; + alignas(16) vfloat sizev; + alignas(16) vint sizeiv; #endif public: /// convenience flag! If one doesn't want to delete the buffer but want to flag it to be recomputed...