Simplified erase_after code.

This commit is contained in:
John Wellbelove 2016-01-13 18:57:50 +00:00
parent f29d45942c
commit 1c3187844f

View File

@ -519,14 +519,7 @@ namespace etl
p_first = p_next; // Move to the next node.
}
if (p_next == nullptr)
{
return end();
}
else
{
return iterator(*p_last);
}
return last;
}
//*************************************************************************