Skip to content

Commit 3e8e2c2

Browse files
don't force a size for the overlay SmallVector
1 parent b7dc4c7 commit 3e8e2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/driver/swift_symbolgraph_extract_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ int swift_symbolgraph_extract_main(ArrayRef<const char *> Args, const char *Argv
260260
// don't need to print these errors.
261261
CI.removeDiagnosticConsumer(&DiagPrinter);
262262

263-
SmallVector<ModuleDecl *, 2> Overlays;
263+
SmallVector<ModuleDecl *> Overlays;
264264
M->findDeclaredCrossImportOverlaysTransitive(Overlays);
265265
for (const auto *OM : Overlays) {
266266
auto CIM = CI.getASTContext().getModuleByName(OM->getNameStr());

0 commit comments

Comments
 (0)