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:
parent
ee92378b80
commit
c60150da15
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue