Skip to content

Commit 40e1679

Browse files
author
Max Moiseev
committed
Upgrading for new integer protocols.
1 parent 9e980f2 commit 40e1679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PlaygroundLogger/PlaygroundLogger/Common.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func boundCheckRanges(_ ranges : [ChildrenRange], _ upper_bound : UInt64) -> [Ch
6767
return actual_ranges
6868
}
6969

70-
extension Integer where Self.Stride: SignedInteger {
70+
extension FixedWidthInteger where Self.Stride: SignedInteger {
7171
func doFor (f: (Self) -> ()) {
7272
for x in CountableRange(uncheckedBounds: (lower: 0 as Self, upper:self)) {
7373
f(x)

0 commit comments

Comments
 (0)