Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Swift 5.9 warnings #2072

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ enum Keyframes {
extension KeyframeGroup {
/// Whether or not all of the keyframes in this `KeyframeGroup` have the same
/// timing parameters as the corresponding keyframe in the other given `KeyframeGroup`
func hasSameTimingParameters<T>(as other: KeyframeGroup<T>) -> Bool {
func hasSameTimingParameters<U>(as other: KeyframeGroup<U>) -> Bool {
guard keyframes.count == other.keyframes.count else {
return false
}
Expand All @@ -276,7 +276,7 @@ extension KeyframeGroup {
extension Keyframe {
/// Whether or not this keyframe has the same timing parameters as the given keyframe,
/// excluding `spatialInTangent` and `spatialOutTangent`.
fileprivate func hasSameTimingParameters<T>(as other: Keyframe<T>) -> Bool {
fileprivate func hasSameTimingParameters<U>(as other: Keyframe<U>) -> Bool {
time == other.time
&& isHold == other.isHold
&& inTangent == other.inTangent
Expand Down