summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 21:44:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 21:44:11 +0300
commit337a52a41ea44570da65586403f14248042f0169 (patch)
tree27f58dd5f9c9f50310c94c649595a9e7f8e00455 /src/input
parent36c45ae7d8d2577a900ec266b64448d4b488013d (diff)
downloadplus-337a52a41ea44570da65586403f14248042f0169.tar.gz
plus-337a52a41ea44570da65586403f14248042f0169.tar.bz2
plus-337a52a41ea44570da65586403f14248042f0169.tar.xz
plus-337a52a41ea44570da65586403f14248042f0169.zip
Use std::move in some places.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 13298f2e3..fa42ffe32 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -55,6 +55,7 @@
#include "utils/checkutils.h"
#include "utils/gettext.h"
+#include "utils/stdmove.h"
#include "utils/timer.h"
#include "gui/focushandler.h"
@@ -468,7 +469,7 @@ void InputManager::updateKeyString(const InputFunction &ki,
}
else
{
- mKeyStr[actionIdx] = keyStr;
+ mKeyStr[actionIdx] = STD_MOVE(keyStr);
}
}