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/net/ea/playerrecv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/ea') diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp index 93108b39d..edc604907 100644 --- a/src/net/ea/playerrecv.cpp +++ b/src/net/ea/playerrecv.cpp @@ -44,6 +44,7 @@ #include "net/playerhandler.h" +#include "utils/stdmove.h" #include "utils/stringutils.h" #include "debug.h" @@ -256,7 +257,7 @@ void PlayerRecv::processPlayerClientCommand(Net::MessageIn &msg) if (!parse2Str(command, cmd, args)) { - cmd = command; + cmd = STD_MOVE(command); args.clear(); } inputManager.executeRemoteChatCommand(cmd, args, nullptr); -- cgit v1.2.3-70-g09d2