Skip to content

Commit 2ee06b5

Browse files
committed
Remove malfunctioning overload
1 parent a5aef26 commit 2ee06b5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

std/algorithm/mutation.d

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3151,13 +3151,6 @@ if (isBlitAssignable!T && !is(typeof(lhs.proxySwap(rhs))))
31513151
}();
31523152
}
31533153

3154-
/// ditto
3155-
void swap(T)(ref T lhs, ref T rhs)
3156-
if (is(typeof(lhs.proxySwap(rhs))))
3157-
{
3158-
lhs.proxySwap(rhs);
3159-
}
3160-
31613154
/**
31623155
Swaps two elements in-place of a range `r`,
31633156
specified by their indices `i1` and `i2`.

0 commit comments

Comments
 (0)