mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:18:11 +00:00
Everywhere: Stop using NonnullOwnPtrVector
Same as NonnullRefPtrVector: weird semantics, questionable benefits.
This commit is contained in:
parent
689ca370d4
commit
359d6e7b0b
111 changed files with 517 additions and 503 deletions
|
@ -61,7 +61,7 @@ void RegularEditingEngine::sort_selected_lines()
|
|||
auto end = lines.begin() + (int)last_line + 1;
|
||||
|
||||
quick_sort(start, end, [](auto& a, auto& b) {
|
||||
return strcmp_utf32(a.code_points(), b.code_points(), min(a.length(), b.length())) < 0;
|
||||
return strcmp_utf32(a->code_points(), b->code_points(), min(a->length(), b->length())) < 0;
|
||||
});
|
||||
|
||||
m_editor->did_change();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue