Skip to content

Commit

Permalink
Add missing &. NFC.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280458 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
gburgessiv committed Sep 2, 2016
1 parent b7a37e9 commit af1f616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llvm/ADT/SmallVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ class SmallVector : public SmallVectorImpl<T> {
}

template <typename RangeTy>
explicit SmallVector(const llvm::iterator_range<RangeTy> R)
explicit SmallVector(const llvm::iterator_range<RangeTy> &R)
: SmallVectorImpl<T>(N) {
this->append(R.begin(), R.end());
}
Expand Down

0 comments on commit af1f616

Please sign in to comment.