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

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

llvm-svn: 223202
This commit is contained in:
Duncan P. N. Exon Smith 2014-12-03 04:49:16 +00:00
parent f2396e6552
commit 78116d7ace
1 changed files with 1 additions and 1 deletions

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());