Skip to content

Commit

Permalink
Solar and SolarEvents need to be Sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewkirk committed Jan 30, 2025
1 parent a66a0a3 commit 6c042b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 81 deletions.
79 changes: 0 additions & 79 deletions .swiftpm/xcode/xcshareddata/xcschemes/SunKit.xcscheme

This file was deleted.

2 changes: 1 addition & 1 deletion Sources/SunKit/Solar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
import CoreLocation

public struct Solar {
public struct Solar: Sendable {
internal init(date: Date,
coordinate: CLLocationCoordinate2D) {
self.date = date
Expand Down
2 changes: 1 addition & 1 deletion Sources/SunKit/SolarEvents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

public struct SolarEvents {
public struct SolarEvents: Sendable {
internal init(_ actual: Date, nautical: Date? = nil, astronomical: Date? = nil, civil: Date? = nil, goldenHour: DateInterval? = nil, blueHour: DateInterval? = nil) {
self.actual = actual
self.nautical = nautical
Expand Down

0 comments on commit 6c042b5

Please sign in to comment.