File tree 1 file changed +8
-6
lines changed
lib/AST/RequirementMachine
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -650,11 +650,13 @@ RewriteSystem::TypeWitness::TypeWitness(
650
650
getConcreteConformance ().getProtocol ());
651
651
}
652
652
653
- bool swift::rewriting::operator ==(
654
- const RewriteSystem::TypeWitness &lhs,
655
- const RewriteSystem::TypeWitness &rhs) {
656
- return (lhs.LHS == rhs.LHS &&
657
- lhs.RHS == rhs.RHS );
653
+ namespace swift {
654
+ namespace rewriting {
655
+ bool operator ==(const RewriteSystem::TypeWitness &lhs,
656
+ const RewriteSystem::TypeWitness &rhs) {
657
+ return lhs.LHS == rhs.LHS && lhs.RHS == rhs.RHS ;
658
+ }
659
+ }
658
660
}
659
661
660
662
void RewriteSystem::TypeWitness::dump (llvm::raw_ostream &out) const {
@@ -906,4 +908,4 @@ void PropertyMap::recordConcreteConformanceRule(
906
908
path.invert ();
907
909
908
910
inducedRules.emplace_back (std::move (lhs), std::move (rhs), std::move (path));
909
- }
911
+ }
You can’t perform that action at this time.
0 commit comments