diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h index 42eedc63e079..94035797e570 100644 --- a/llvm/include/llvm/ADT/SmallVector.h +++ b/llvm/include/llvm/ADT/SmallVector.h @@ -856,7 +856,7 @@ public: } template - explicit SmallVector(const llvm::iterator_range R) + explicit SmallVector(const llvm::iterator_range &R) : SmallVectorImpl(N) { this->append(R.begin(), R.end()); }