Skip to content

Commit

Permalink
moves declaration of _hashValue out of the conditional compilation space
Browse files Browse the repository at this point in the history
  • Loading branch information
heckj committed Apr 30, 2024
1 parent 7976072 commit f8f4d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Automerge/BoundTypes/AutomergeText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ import Foundation
public final class AutomergeText: Codable {
var doc: Document?
var objId: ObjId?
var _hashOfCurrentValue: Int
#if canImport(Combine)
var observerHandle: AnyCancellable?
var _hashOfCurrentValue: Int
#endif
var _unboundStorage: String

Expand Down
2 changes: 1 addition & 1 deletion Sources/Automerge/BoundTypes/Counter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ public final class Counter: Codable {
var doc: Document?
var objId: ObjId?
var codingkey: AnyCodingKey?
var _hashOfCurrentValue: Int
#if canImport(Combine)
var observerHandle: AnyCancellable?
var _hashOfCurrentValue: Int
#endif
var _unboundStorage: Int

Expand Down

0 comments on commit f8f4d26

Please sign in to comment.