Skip to content

Commit 11250a1

Browse files
committed
moves declaration of _hashValue out of the conditional compilation space
1 parent 81f0de0 commit 11250a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Automerge/BoundTypes/AutomergeText.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ import Foundation
3737
public final class AutomergeText: Codable {
3838
var doc: Document?
3939
var objId: ObjId?
40+
var _hashOfCurrentValue: Int
4041
#if canImport(Combine)
4142
var observerHandle: AnyCancellable?
42-
var _hashOfCurrentValue: Int
4343
#endif
4444
var _unboundStorage: String
4545

Sources/Automerge/BoundTypes/Counter.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ public final class Counter: Codable {
1212
var doc: Document?
1313
var objId: ObjId?
1414
var codingkey: AnyCodingKey?
15+
var _hashOfCurrentValue: Int
1516
#if canImport(Combine)
1617
var observerHandle: AnyCancellable?
17-
var _hashOfCurrentValue: Int
1818
#endif
1919
var _unboundStorage: Int
2020

0 commit comments

Comments
 (0)