Fixed memory corruption / actual crashes on Window
Fixed memory corruption caused by missing assignment operator with non-trivial copy constructor logic.
FIxes crashes on Windows when "dwaa" or "dwab" codecs are used for saving files.
@@ -93,6 +93,12 @@ class SimdAlignedBuffer64
memcpy (_buffer, rhs._buffer, 64 * sizeof (T));
}
+ SimdAlignedBuffer64 &operator=(const SimdAlignedBuffer64 &rhs)
+ {
+ memcpy (_buffer, rhs._buffer, 64 * sizeof (T));
+ return *this;
+ }
+
~SimdAlignedBuffer64 ()
{
EXRFreeAligned (_handle);
