mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 20:44:51 +00:00
ADT: Rename argument in emplace_back_impl
Rename a functor argument in r223201 from `emplace` to `construct` to reduce confusion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c6860c8a1
commit
59c9cb75d2
@ -246,10 +246,10 @@ public:
|
||||
}
|
||||
#else
|
||||
private:
|
||||
template <typename Constructor> void emplace_back_impl(Constructor emplace) {
|
||||
template <typename Constructor> void emplace_back_impl(Constructor construct) {
|
||||
if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
|
||||
this->grow();
|
||||
emplace((void *)this->end());
|
||||
construct((void *)this->end());
|
||||
this->setEnd(this->end() + 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user