Skip to content

Commit

Permalink
remove what looks like forgotten, useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Boßung committed Apr 4, 2012
1 parent b13e568 commit fd80105
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions std/container.d
Expand Up @@ -2174,9 +2174,6 @@ Complexity: $(BIGOH n + m), where $(D m) is the length of $(D stuff)
size_t replace(Stuff)(Range r, Stuff stuff)
if (isInputRange!Stuff && isImplicitlyConvertible!(ElementType!Stuff, T))
{
enforce(_data);
immutable offset = r.ptr - _data._payload.ptr;
enforce(offset <= length);
size_t result;
for (; !stuff.empty; stuff.popFront())
{
Expand Down

0 comments on commit fd80105

Please sign in to comment.