[clang-tidy] remove needless std::move

Found with performance-move-const-arg

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-02-05 16:47:14 -08:00
committed by Max Kellermann
parent 85e33f7d60
commit ac50bb5d2b
4 changed files with 7 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ ThreadBackgroundCommand::DeferredFinish() noexcept
Response response(client, 0);
if (error) {
PrintError(response, std::move(error));
PrintError(response, error);
} else {
SendResponse(response);
command_success(client);