We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6cf373 commit 0dedf8fCopy full SHA for 0dedf8f
1 file changed
include/gfx/timsort.hpp
@@ -380,7 +380,7 @@ class TimSort {
380
return rotateRight(base1, base2 + len2);
381
}
382
383
- copy_to_tmp(base1, len1);
+ move_to_tmp(base1, len1);
384
385
tmp_iter_t cursor1 = tmp_.begin();
386
iter_t cursor2 = base2;
@@ -500,7 +500,7 @@ class TimSort {
500
501
502
503
- copy_to_tmp(base2, len2);
+ move_to_tmp(base2, len2);
504
505
iter_t cursor1 = base1 + len1;
506
tmp_iter_t cursor2 = tmp_.begin() + (len2 - 1);
@@ -616,7 +616,7 @@ class TimSort {
616
617
618
619
- void copy_to_tmp(iter_t const begin, diff_t len) {
+ void move_to_tmp(iter_t const begin, diff_t len) {
620
tmp_.assign(std::make_move_iterator(begin),
621
std::make_move_iterator(begin + len));
622
0 commit comments