Skip to content

Commit 0b32290

Browse files
authored
Merge pull request #60413 from bnbarham/remove-default-smallvec-use
[AST] Remove defaulted SmallVector use
2 parents 1b976d4 + a671cff commit 0b32290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/Type.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ Type TypeBase::lookThroughAllOptionalTypes(SmallVectorImpl<Type> &optionals){
882882
}
883883

884884
unsigned int TypeBase::getOptionalityDepth() {
885-
SmallVector<Type> types;
885+
SmallVector<Type, 4> types;
886886
lookThroughAllOptionalTypes(types);
887887
return types.size();
888888
}

0 commit comments

Comments
 (0)