mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix source to use template <typename T, unsigned N> class SmallVector
The SmallVector version with default template does not compile with older compiler versions
This commit is contained in:
@@ -1355,7 +1355,7 @@ protected:
|
||||
}
|
||||
} else {
|
||||
auto *elseBraceStmt = cast<BraceStmt>(elseStmt);
|
||||
SmallVector<ASTNode> elseBody;
|
||||
SmallVector<ASTNode, 4> elseBody;
|
||||
|
||||
std::tie(elseVar, unsupported) = transform(elseBraceStmt, elseBody);
|
||||
if (unsupported) {
|
||||
|
||||
Reference in New Issue
Block a user