From 7486444926754879d604e777b41a24c70e4e5539 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Wed, 3 Dec 2014 05:53:24 +0000 Subject: [PATCH] ADT: Rename argument in emplace_back_impl Rename a functor argument in r223201 from `emplace` to `construct` to reduce confusion. llvm-svn: 223212 --- llvm/include/llvm/ADT/SmallVector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h index 1ba9c41..a69684e 100644 --- a/llvm/include/llvm/ADT/SmallVector.h +++ b/llvm/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); } -- 2.7.4