mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-11 06:56:40 +00:00
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:
parent
fe03508abd
commit
ba2915d05c
@ -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…
x
Reference in New Issue
Block a user