ADT: Add SmallVector<>::emplace_back(): fixup

Add missing `void` return type from `!LLVM_HAS_VARIADIC_TEMPLATES` case
in r223201.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2014-12-03 04:49:16 +00:00
parent fe03508abd
commit ba2915d05c

View File

@ -246,7 +246,7 @@ public:
}
#else
private:
template <typename Constructor> emplace_back_impl(Constructor emplace) {
template <typename Constructor> void emplace_back_impl(Constructor emplace) {
if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
this->grow();
emplace((void *)this->end());