diff --git a/lib/IlmCtlSimd/CtlSimdReg.cpp b/lib/IlmCtlSimd/CtlSimdReg.cpp index f599ffef..401767f3 100644 --- a/lib/IlmCtlSimd/CtlSimdReg.cpp +++ b/lib/IlmCtlSimd/CtlSimdReg.cpp @@ -87,7 +87,7 @@ SimdReg::SimdReg (bool varying, size_t elementSize) _varying(varying), _oVarying(false), _offsets(zeroOffset), - _data (new char [ varying ? MAX_REG_SIZE * _eSize : _eSize]), + _data (new char [ varying ? MAX_REG_SIZE * _eSize : _eSize]()), _ref(0) { }