Skip to content

Commit 97ad379

Browse files
committed
hotfix again? am i simply versionmaxxing?
1 parent 9c7d3bf commit 97ad379

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/tern/algorithm/lazy_filter.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public struct LazyFilter(alias F, T)
1010
if (isForward!T && isCallable!F)
1111
{
1212
T _range;
13-
alias _range this;
1413

1514
private:
1615
final:
@@ -30,6 +29,7 @@ public:
3029

3130
return this[0..length];
3231
}
32+
alias range this;
3333

3434
this(T range)
3535
{

source/tern/algorithm/lazy_map.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public struct LazyMap(alias F, T)
1010
if (isForward!T && isCallable!F)
1111
{
1212
T _range;
13-
alias _range this;
1413

1514
public:
1615
final:
@@ -29,6 +28,7 @@ final:
2928

3029
return this[0..length];
3130
}
31+
alias range this;
3232

3333
this(T range)
3434
{

source/tern/algorithm/lazy_substitute.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ public struct LazySubstitute(A, B, C)
1111
if (isForward!A && isIndexable!A && isCallable!F)
1212
{
1313
A _range;
14-
alias _range this;
1514

1615
public:
1716
final:
@@ -32,6 +31,7 @@ final:
3231

3332
return this[0..length];
3433
}
34+
alias range this;
3535

3636
this(A _range, B from, C to)
3737
{

0 commit comments

Comments
 (0)