summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-12-03 04:49:16 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-12-03 04:49:16 +0000
commit78116d7acec6e5e8c51dbbf8bf4cb511afdf634c (patch)
tree13e0b53e11dca68a3ae173bcb658212c4d94a082
parentf2396e65526b97641ef5c54262390790b5ee1074 (diff)
downloadbcm5719-llvm-78116d7acec6e5e8c51dbbf8bf4cb511afdf634c.tar.gz
bcm5719-llvm-78116d7acec6e5e8c51dbbf8bf4cb511afdf634c.zip
ADT: Add SmallVector<>::emplace_back(): fixup
Add missing `void` return type from `!LLVM_HAS_VARIADIC_TEMPLATES` case in r223201. llvm-svn: 223202
-rw-r--r--llvm/include/llvm/ADT/SmallVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h
index 8c29f5c498d..1ba9c41bf40 100644
--- a/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm/include/llvm/ADT/SmallVector.h
@@ -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());
OpenPOWER on IntegriCloud