diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-12 14:57:15 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-12 14:57:15 +0200 |
commit | dddf45f56367b6e9e3a6740fe9bf70d81b4d6b1a (patch) | |
tree | d9f6b21aa34686f78056f419473e8e5ba22745b1 /Servers/WindowServer/WSMenu.h | |
parent | 23e6c45e877dd24637bba9407666d30a9e62f368 (diff) | |
download | serenity-dddf45f56367b6e9e3a6740fe9bf70d81b4d6b1a.zip |
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.
Diffstat (limited to 'Servers/WindowServer/WSMenu.h')
-rw-r--r-- | Servers/WindowServer/WSMenu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSMenu.h b/Servers/WindowServer/WSMenu.h index 0366bfb56e..43f66f838d 100644 --- a/Servers/WindowServer/WSMenu.h +++ b/Servers/WindowServer/WSMenu.h @@ -15,7 +15,7 @@ class Font; class WSMenu final : public CObject { public: - WSMenu(WSClientConnection*, int menu_id, String&& name); + WSMenu(WSClientConnection*, int menu_id, const String& name); virtual ~WSMenu() override; WSClientConnection* client() { return m_client; } |