1
Fork 0
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:
Conrad Pankoff 2019-09-16 01:29:23 +10:00 committed by Andreas Kling
parent 6fd096999e
commit aa95bd7037
2 changed files with 2 additions and 2 deletions

View file

@ -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();
}