summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-05-27 08:14:12 +0200
committerEugen Wissner <belka@caraus.de>2021-05-27 08:14:12 +0200
commitd9fda61fe1e5a9c576594756016f880a9d52e5c8 (patch)
tree3defdee891df4815451d194a99654cdd0ee84fae /source
parent4f4854429704624280a70c698dbc03724e55d988 (diff)
downloadtanya-d9fda61fe1e5a9c576594756016f880a9d52e5c8.tar.gz
Pass tests with GDC 10.3
Diffstat (limited to 'source')
-rw-r--r--source/tanya/container/array.d3
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);
}