mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibGUI: Fix move() of const StringView&
This commit is contained in:
parent
6fd096999e
commit
aa95bd7037
Notes:
sideshowbarker
2024-07-19 12:05:30 +09:00
Author: https://github.com/deoxxa
Commit: aa95bd7037
Pull-request: https://github.com/SerenityOS/serenity/pull/565
Reviewed-by: https://github.com/awesomekling
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ void GLabel::set_text(const StringView& text)
|
|||
{
|
||||
if (text == m_text)
|
||||
return;
|
||||
m_text = move(text);
|
||||
m_text = text;
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue