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:
Meghana Gupta
2022-08-03 11:50:16 -07:00
parent f10e66e06b
commit d58560e65c

View File

@@ -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) {