Fix local variable shadow warning in SmallVectorBase constructor. NFCI.

llvm-svn: 360337
This commit is contained in:
Simon Pilgrim 2019-05-09 12:21:53 +00:00
parent 2612bac747
commit 85474275e1
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ protected:
unsigned Size = 0, Capacity;
SmallVectorBase() = delete;
SmallVectorBase(void *FirstEl, size_t Capacity)
: BeginX(FirstEl), Capacity(Capacity) {}
SmallVectorBase(void *FirstEl, size_t TotalCapacity)
: BeginX(FirstEl), Capacity(TotalCapacity) {}
/// This is an implementation of the grow() method which only works
/// on POD-like data types and is out of line to reduce code duplication.