[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:

committed by
Max Kellermann

parent
85e33f7d60
commit
ac50bb5d2b
@@ -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);
|
||||
|
Reference in New Issue
Block a user