Index: include/llvm/ADT/SmallVector.h =================================================================== --- include/llvm/ADT/SmallVector.h +++ include/llvm/ADT/SmallVector.h @@ -426,7 +426,9 @@ std::uninitialized_fill(this->begin(), this->end(), Elt); } - template void assign(in_iter in_start, in_iter in_end) { + template ::value>::type> + void assign(in_iter in_start, in_iter in_end) { clear(); append(in_start, in_end); }