diff options
Diffstat (limited to 'Libraries/LibGUI/CheckBox.cpp')
-rw-r--r-- | Libraries/LibGUI/CheckBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/CheckBox.cpp b/Libraries/LibGUI/CheckBox.cpp index caa37ea95a..70c98f0e25 100644 --- a/Libraries/LibGUI/CheckBox.cpp +++ b/Libraries/LibGUI/CheckBox.cpp @@ -36,8 +36,8 @@ namespace GUI { static const int s_box_width = 13; static const int s_box_height = 13; -CheckBox::CheckBox(const StringView& text) - : AbstractButton(text) +CheckBox::CheckBox(String text) + : AbstractButton(move(text)) { } |