Skip to content

Commit 96c079a

Browse files
authored
Merge pull request #41600 from slavapestov/rqm-fix-linux-compile-error
RequirementMachine: Fix compile error on Linux
2 parents ed1c459 + 8570b56 commit 96c079a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/RequirementMachine/ConcreteContraction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ bool ConcreteContraction::performConcreteContraction(
532532
//
533533
// FIXME: Do we need to check for errors? Right now they're just ignored.
534534
SmallVector<Requirement, 4> reqs;
535-
SmallVector<RequirementError> errors;
535+
SmallVector<RequirementError, 1> errors;
536536
desugarRequirement(*substReq, reqs, errors);
537537
for (auto desugaredReq : reqs) {
538538
if (Debug) {

0 commit comments

Comments
 (0)