File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1220,23 +1220,23 @@ class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
12201220
12211221 template <typename ItTy, typename = EnableIfConvertibleToInputIterator<ItTy>>
12221222 SmallVector (ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
1223- this ->append (S, E);
1223+ this ->assign (S, E);
12241224 }
12251225
12261226 template <typename RangeTy>
12271227 explicit SmallVector (const iterator_range<RangeTy> &R)
12281228 : SmallVectorImpl<T>(N) {
1229- this ->append (R.begin (), R.end ());
1229+ this ->assign (R.begin (), R.end ());
12301230 }
12311231
12321232 SmallVector (std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
1233- this ->append (IL);
1233+ this ->assign (IL);
12341234 }
12351235
12361236 template <typename U,
12371237 typename = std::enable_if_t <std::is_convertible_v<U, T>>>
12381238 explicit SmallVector (ArrayRef<U> A) : SmallVectorImpl<T>(N) {
1239- this ->append (A. begin (), A. end () );
1239+ this ->assign (A );
12401240 }
12411241
12421242 SmallVector (const SmallVector &RHS) : SmallVectorImpl<T>(N) {
You can’t perform that action at this time.
0 commit comments