mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:19:43 +00:00
Fix local variable shadow warning in SmallVectorBase constructor. NFCI.
llvm-svn: 360337
This commit is contained in:
parent
9bb70275e8
commit
3e790877fe
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user