1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

HackStudio: Use StringView in DiffViewer::draw_line

This commit is contained in:
Shannon Booth 2023-06-24 13:08:47 +12:00 committed by Andreas Kling
parent ee92378b80
commit c60150da15
2 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ private:
Missing,
};
void draw_line(GUI::Painter&, DeprecatedString const& line, size_t y_offset, LinePosition, LineType);
void draw_line(GUI::Painter&, StringView line, size_t y_offset, LinePosition, LineType);
static Vector<DeprecatedString> split_to_lines(DeprecatedString const& text);