File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments