Skip to content

Commit 53a78d7

Browse files
committed
Revert "Temporary revert "NSGeometry: update accessors (#367)" until the toolchain distributions can rev"
This reverts commit d632ebf. We can't wait for the new toolchain, the CI expects new names now.
1 parent 04d4f92 commit 53a78d7

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)._toBitPattern())
37+
return Int(Float(self.native).bitPattern)
3838
#else
39-
return Int(self.native._toBitPattern())
39+
return Int(self.native.bitPattern)
4040
#endif
4141
}
4242
}

0 commit comments

Comments
 (0)