summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-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