mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
Changed create_element_at to simple copy.
This commit is contained in:
parent
9d3a0580fb
commit
afb384d67f
@ -580,7 +580,7 @@ namespace etl
|
||||
|
||||
for (size_t i = 0; i < n_copy_old; ++i)
|
||||
{
|
||||
create_element_at(to++, p_buffer[from++]);
|
||||
p_buffer[to++] = p_buffer[from++];
|
||||
}
|
||||
|
||||
// Copy new.
|
||||
@ -659,7 +659,7 @@ namespace etl
|
||||
|
||||
for (size_t i = 0; i < n_copy_old; ++i)
|
||||
{
|
||||
create_element_at(to++, p_buffer[from++]);
|
||||
p_buffer[to++] = p_buffer[from++];
|
||||
}
|
||||
|
||||
// Copy new.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user