Skip to content

Commit 0dedf8f

Browse files
committed
Rename copy_to_tmp to move_to_tmp
1 parent d6cf373 commit 0dedf8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/gfx/timsort.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class TimSort {
380380
return rotateRight(base1, base2 + len2);
381381
}
382382

383-
copy_to_tmp(base1, len1);
383+
move_to_tmp(base1, len1);
384384

385385
tmp_iter_t cursor1 = tmp_.begin();
386386
iter_t cursor2 = base2;
@@ -500,7 +500,7 @@ class TimSort {
500500
return rotateRight(base1, base2 + len2);
501501
}
502502

503-
copy_to_tmp(base2, len2);
503+
move_to_tmp(base2, len2);
504504

505505
iter_t cursor1 = base1 + len1;
506506
tmp_iter_t cursor2 = tmp_.begin() + (len2 - 1);
@@ -616,7 +616,7 @@ class TimSort {
616616
}
617617
}
618618

619-
void copy_to_tmp(iter_t const begin, diff_t len) {
619+
void move_to_tmp(iter_t const begin, diff_t len) {
620620
tmp_.assign(std::make_move_iterator(begin),
621621
std::make_move_iterator(begin + len));
622622
}

0 commit comments

Comments
 (0)