Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed Dec 12, 2024
1 parent 4c330c8 commit 6a1738c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Verge/Logging/MutationTrace.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public struct MutationTrace: Encodable, Equatable, Sendable {

}

extension StaticString: Encodable {
extension StaticString: @retroactive Encodable {

public func encode(to encoder: Encoder) throws {
var container = encoder.singleValueContainer()
Expand Down
2 changes: 1 addition & 1 deletion Tests/VergeTests/AccumulationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ final class AccumulationTests: XCTestCase {
let expForCount = expectation(description: "count")
expForCount.expectedFulfillmentCount = 1

let sub = store.accumulate(queue: .mainIsolated()) { [weak self] in
let sub = store.accumulate(queue: .mainIsolated()) {

$0.ifChanged(\.count)
.dropFirst(2)
Expand Down
2 changes: 1 addition & 1 deletion Tests/VergeTests/ActivityTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ActivityTests: XCTestCase {
case didSendMessage
}

final class Store: Verge.Store<Value, Activity> {
final class Store: Verge.Store<Value, Activity>, @unchecked Sendable {

init() {
super.init(initialState: .init(), logger: DefaultStoreLogger.default)
Expand Down
2 changes: 1 addition & 1 deletion Tests/VergeTests/Usage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct RootState: Equatable {

}

final class RootStore: Store<RootState, Never> {
final class RootStore: Store<RootState, Never>, @unchecked Sendable {

}

Expand Down

0 comments on commit 6a1738c

Please sign in to comment.