diff --git a/include/swift/Sema/CSFix.h b/include/swift/Sema/CSFix.h index 3a32eea4f499a..450486ec3bc2d 100644 --- a/include/swift/Sema/CSFix.h +++ b/include/swift/Sema/CSFix.h @@ -2059,7 +2059,7 @@ class MustBeCopyable final : public ConstraintFix { Type noncopyableTy, ConstraintLocator *locator); - static bool classof(ConstraintFix const* fix) { + static bool classof(const ConstraintFix *fix) { return fix->getKind() == FixKind::MustBeCopyable; } }; @@ -2083,7 +2083,7 @@ class AllowInvalidPackElement final : public ConstraintFix { Type packElementType, ConstraintLocator *locator); - static bool classof(ConstraintFix const* fix) { + static bool classof(const ConstraintFix *fix) { return fix->getKind() == FixKind::AllowInvalidPackElement; } };