forked from OSchip/llvm-project
The minimum element size in BumpVector should be 1, not 0.
llvm-svn: 90268
This commit is contained in:
parent
117e472b52
commit
d63ba8f221
|
@ -166,7 +166,7 @@ public:
|
|||
private:
|
||||
/// grow - double the size of the allocated memory, guaranteeing space for at
|
||||
/// least one more element or MinSize if specified.
|
||||
void grow(BumpVectorContext &C, size_type MinSize = 0);
|
||||
void grow(BumpVectorContext &C, size_type MinSize = 1);
|
||||
|
||||
void construct_range(T *S, T *E, const T &Elt) {
|
||||
for (; S != E; ++S)
|
||||
|
|
Loading…
Reference in New Issue