From 337a52a41ea44570da65586403f14248042f0169 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Jun 2017 21:44:11 +0300 Subject: Use std::move in some places. --- src/input/inputmanager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input') 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); } } -- cgit v1.2.3-70-g09d2