Removed condition from splice()

This commit is contained in:
John Wellbelove 2016-05-03 18:50:00 +01:00
parent ec74c52fbc
commit 55179454f2

View File

@ -781,11 +781,8 @@ namespace etl
{
if (&other == this)
{
if (from != to)
{
// Internal move.
move(to, from);
}
// Internal move.
move(to, from);
}
else
{
@ -802,11 +799,8 @@ namespace etl
{
if (&other == this)
{
if (first != to)
{
// Internal move.
move(to, first, last);
}
// Internal move.
move(to, first, last);
}
else
{