mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Supplemental fix for issue 14925 - remove redundant conditions
This commit is contained in:
parent
9f366c0ac1
commit
ea811edab9
1 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue