forked from OSchip/llvm-project
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:
parent
f2396e6552
commit
78116d7ace
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue