mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
LibGUI: Fix move() of const StringView&
This commit is contained in:
committed by
Andreas Kling
parent
6fd096999e
commit
aa95bd7037
@@ -29,7 +29,7 @@ void GLabel::set_text(const StringView& text)
|
||||
{
|
||||
if (text == m_text)
|
||||
return;
|
||||
m_text = move(text);
|
||||
m_text = text;
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user