summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
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/gui/windows/logindialog.cpp
parent36c45ae7d8d2577a900ec266b64448d4b488013d (diff)
downloadmv-337a52a41ea44570da65586403f14248042f0169.tar.gz
mv-337a52a41ea44570da65586403f14248042f0169.tar.bz2
mv-337a52a41ea44570da65586403f14248042f0169.tar.xz
mv-337a52a41ea44570da65586403f14248042f0169.zip
Use std::move in some places.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index e99d1b68e..21af69b91 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -48,6 +48,7 @@
#include "net/updatetypeoperators.h"
#include "utils/delete2.h"
+#include "utils/stdmove.h"
#include "debug.h"
@@ -357,7 +358,7 @@ void LoginDialog::prepareUpdate()
if (!str.empty() && checkPath(str))
{
mLoginData->updateHost = str;
- *mUpdateHost = str;
+ *mUpdateHost = STD_MOVE(str);
}
else
{