Make sure Capacity gets initialized too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-02-15 20:14:06 +00:00
parent 0878c31059
commit 9d1597b086

View File

@ -78,6 +78,7 @@ public:
BitVector(const BitVector &RHS) : Size(RHS.size()) {
if (Size == 0) {
Bits = NULL;
Capacity = 0;
return;
}