Merge pull request #10617 from jackpoz/updatemask_fix
Fix uninitialized UpdateMask field
This commit is contained in:
commit
573c919c5b
1 file changed
+1
-1
@@ -36,7 +36,7 @@ class UpdateMask
|
||||
|
||||
UpdateMask() : _fieldCount(0), _blockCount(0), _bits(NULL) { }
|
||||
|
||||
UpdateMask(UpdateMask const& right)
|
||||
UpdateMask(UpdateMask const& right) : _bits(NULL)
|
||||
{
|
||||
SetCount(right.GetCount());
|
||||
memcpy(_bits, right._bits, sizeof(uint8) * _blockCount * 32);
|
||||
|
||||
Reference in new issue
Block a user