mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
LibGUI: Fix move() of const StringView&
This commit is contained in:
parent
6fd096999e
commit
aa95bd7037
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ void TextWidget::set_text(const StringView& text)
|
|||
{
|
||||
if (text == m_text)
|
||||
return;
|
||||
m_text = move(text);
|
||||
m_text = text;
|
||||
wrap_and_set_height();
|
||||
update();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue