summaryrefslogtreecommitdiff
path: root/libcody
diff options
context:
space:
mode:
Diffstat (limited to 'libcody')
-rw-r--r--libcody/client.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcody/client.cc b/libcody/client.cc
index edfe44d34b2..ae69d190cb7 100644
--- a/libcody/client.cc
+++ b/libcody/client.cc
@@ -122,8 +122,7 @@ Packet Client::ProcessResponse (std::vector<std::string> &words,
Assert (!words.empty ());
if (words[0] == u8"ERROR")
return Packet (Client::PC_ERROR,
- std::move (words.size () == 2 ? words[1]
- : u8"malformed error response"));
+ words.size () == 2 ? words[1]: u8"malformed error response");
if (isLast && !read.IsAtEnd ())
return Packet (Client::PC_ERROR,