From ea811edab97021c9328dd2e81c49bba23c414b4d Mon Sep 17 00:00:00 2001 From: k-hara Date: Thu, 20 Aug 2015 09:09:29 +0900 Subject: [PATCH] Supplemental fix for issue 14925 - remove redundant conditions --- std/array.d | 2 -- 1 file changed, 2 deletions(-) diff --git a/std/array.d b/std/array.d index 211cbb69b..40e1561aa 100644 --- a/std/array.d +++ b/std/array.d @@ -2281,8 +2281,6 @@ void replaceInPlace(T, Range)(ref T[] array, size_t from, size_t to, Range stuff { static if(isDynamicArray!Range && is(Unqual!(ElementEncodingType!Range) == T) && - !is(T == const T) && - !is(T == immutable T) && !isNarrowString!(T[])) { // optimized for homogeneous arrays that can be overwritten.