mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-30 15:02:56 +00:00
Change String&& arguments to const String& in a couple of places.
String&& is more nuisance than anything, and the codegen improvement is basically negligible since the underlying type is already retainable.
This commit is contained in:
parent
23e6c45e87
commit
dddf45f563
Notes:
sideshowbarker
2024-07-19 14:09:52 +09:00
Author: https://github.com/awesomekling
Commit: dddf45f563
11 changed files with 18 additions and 18 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <SharedGraphics/StylePainter.h>
|
||||
#include <SharedGraphics/Font.h>
|
||||
|
||||
WSMenu::WSMenu(WSClientConnection* client, int menu_id, String&& name)
|
||||
WSMenu::WSMenu(WSClientConnection* client, int menu_id, const String& name)
|
||||
: m_client(client)
|
||||
, m_menu_id(menu_id)
|
||||
, m_name(move(name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue