Skip to content

Commit e97f137

Browse files
committed
ClangImporter.cpp: Fix compilation on some linux systems
1 parent 727d3fe commit e97f137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ getClangInvocationFileMapping(ASTContext &ctx) {
923923
cxxStdlibDirs.push_back(Path(iter->path()));
924924
}
925925

926-
SmallVector<std::pair<std::string, std::string>> result;
926+
SmallVector<std::pair<std::string, std::string>, 16> result;
927927
// Inject a modulemap into the VFS for each of the libstdc++ versions.
928928
for (const Path &cxxStdlibDir : cxxStdlibDirs) {
929929
// Only inject the module map if the module does not already exist at

0 commit comments

Comments
 (0)