diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/tanya/container/array.d | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/tanya/container/array.d b/source/tanya/container/array.d index 6031c21..c6d06ad 100644 --- a/source/tanya/container/array.d +++ b/source/tanya/container/array.d @@ -1123,7 +1123,8 @@ struct Array(T) } /// ditto - bool opEquals(Range that) + bool opEquals(R)(R that) + if (is(R == Range)) { return equal(opIndex(), that); } |
