summaryrefslogtreecommitdiff
path: root/Widgets/Button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Widgets/Button.cpp')
-rw-r--r--Widgets/Button.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Widgets/Button.cpp b/Widgets/Button.cpp
index 5429ad8854..26d4fd6811 100644
--- a/Widgets/Button.cpp
+++ b/Widgets/Button.cpp
@@ -1,6 +1,5 @@
#include "Button.h"
#include "Painter.h"
-#include <cstdio>
Button::Button(Widget* parent)
: Widget(parent)
@@ -15,7 +14,7 @@ void Button::setCaption(String&& caption)
{
if (caption == m_caption)
return;
- m_caption = std::move(caption);
+ m_caption = move(caption);
update();
}