1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +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:
Andreas Kling 2019-05-12 14:57:15 +02:00
parent 23e6c45e87
commit dddf45f563
11 changed files with 18 additions and 18 deletions

View file

@ -10,7 +10,7 @@ public:
virtual ~GCheckBox() override;
String caption() const { return m_caption; }
void set_caption(String&&);
void set_caption(const String&);
bool is_checked() const { return m_checked; }
void set_checked(bool);