mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
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:
@@ -78,6 +78,7 @@ public:
|
|||||||
BitVector(const BitVector &RHS) : Size(RHS.size()) {
|
BitVector(const BitVector &RHS) : Size(RHS.size()) {
|
||||||
if (Size == 0) {
|
if (Size == 0) {
|
||||||
Bits = NULL;
|
Bits = NULL;
|
||||||
|
Capacity = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user