Skip to content

Commit

Permalink
use () to invoke default initializer, fixes ampas#85
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldsmith committed Jul 10, 2022
1 parent 20689f1 commit 45c6b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IlmCtlSimd/CtlSimdReg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}
Expand Down

0 comments on commit 45c6b25

Please sign in to comment.