Skip to content

Commit d632ebf

Browse files
committed
Temporary revert "NSGeometry: update accessors (#367)" until the toolchain distributions can rev
This reverts commit 11184f7.
1 parent 468e921 commit d632ebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Foundation/NSGeometry.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public struct CGFloat {
3434

3535
private var hash: Int {
3636
#if arch(i386) || arch(arm)
37-
return Int(Float(self.native).bitPattern)
37+
return Int(Float(self.native)._toBitPattern())
3838
#else
39-
return Int(self.native.bitPattern)
39+
return Int(self.native._toBitPattern())
4040
#endif
4141
}
4242
}

0 commit comments

Comments
 (0)