From b7005729315024514b4497bca711440878718d04 Mon Sep 17 00:00:00 2001 From: LuisAntonRebollo Date: Fri, 21 Jun 2013 14:22:49 +0200 Subject: [PATCH] Fix BitVector copy constructor. Initialize all member variables. --- Engine/source/core/bitVector.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Engine/source/core/bitVector.h b/Engine/source/core/bitVector.h index 3cd60108a..99e02222e 100644 --- a/Engine/source/core/bitVector.h +++ b/Engine/source/core/bitVector.h @@ -158,6 +158,9 @@ inline BitVector::BitVector( U32 sizeInBits ) inline BitVector::BitVector( const BitVector &r ) { + mBits = NULL; + mByteSize = 0; + mSize = 0; copy(r); }