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 {
380
380
return rotateRight (base1, base2 + len2);
381
381
}
382
382
383
- copy_to_tmp (base1, len1);
383
+ move_to_tmp (base1, len1);
384
384
385
385
tmp_iter_t cursor1 = tmp_.begin ();
386
386
iter_t cursor2 = base2;
@@ -500,7 +500,7 @@ class TimSort {
500
500
return rotateRight (base1, base2 + len2);
501
501
}
502
502
503
- copy_to_tmp (base2, len2);
503
+ move_to_tmp (base2, len2);
504
504
505
505
iter_t cursor1 = base1 + len1;
506
506
tmp_iter_t cursor2 = tmp_.begin () + (len2 - 1 );
@@ -616,7 +616,7 @@ class TimSort {
616
616
}
617
617
}
618
618
619
- void copy_to_tmp (iter_t const begin, diff_t len) {
619
+ void move_to_tmp (iter_t const begin, diff_t len) {
620
620
tmp_.assign (std::make_move_iterator (begin),
621
621
std::make_move_iterator (begin + len));
622
622
}
You can’t perform that action at this time.
0 commit comments