From: Duncan P. N. Exon Smith Date: Wed, 3 Dec 2014 05:53:24 +0000 (+0000) Subject: ADT: Rename argument in emplace_back_impl X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=59c9cb75d2e54265fb7ca2cb5fe705eb0072cfb1;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h index 1ba9c41bf40..a69684e3fdb 100644 --- a/include/llvm/ADT/SmallVector.h +++ b/include/llvm/ADT/SmallVector.h @@ -246,10 +246,10 @@ public: } #else private: - template void emplace_back_impl(Constructor emplace) { + template 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); }