diff --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp index 1eb4bc66d60c86..97ea6d86cd13a7 100644 --- a/llvm/tools/llvm-profdata/llvm-profdata.cpp +++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp @@ -185,7 +185,7 @@ typedef SmallVector WeightedFileVector; struct WriterContext { std::mutex Lock; InstrProfWriter Writer; - std::vector> Errors; + SmallVector, 0> Errors; std::mutex &ErrLock; SmallSet &WriterErrorCodes;