ADT: Rename argument in emplace_back_impl
[oota-llvm.git] / include / llvm / ADT / SmallVector.h
index 1ba9c41bf40459253011d41e2803921b8c20d443..a69684e3fdbf459e7962ede093b5c2bf2a80ebf5 100644 (file)
@@ -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);
   }