mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 22:59:47 +08:00
Removed condition from splice()
This commit is contained in:
parent
ec74c52fbc
commit
55179454f2
14
src/ilist.h
14
src/ilist.h
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user