mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
AK: Replace the boolean parameter of StringView::lines with a named enum
This commit is contained in:
parent
d9349f1510
commit
07a27b2ec0
4 changed files with 9 additions and 5 deletions
|
@ -303,7 +303,7 @@ public:
|
|||
{
|
||||
return m_view.visit(
|
||||
[](StringView view) {
|
||||
auto views = view.lines(false);
|
||||
auto views = view.lines(StringView::ConsiderCarriageReturn::No);
|
||||
Vector<RegexStringView> new_views;
|
||||
for (auto& view : views)
|
||||
new_views.empend(view);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue