Skip to content

Commit 8570b56

Browse files
committed
RequirementMachine: Fix compile error on Linux
1 parent 4c33aab commit 8570b56

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)