diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-02-05 16:47:14 -0800 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-02-20 16:47:34 +0100 |
commit | ac50bb5d2bbe1dad81eac6a6fd84d1f0d25eccab (patch) | |
tree | 1228a9254b9ead6c50d76502f9a7ea538c30961d /src/client | |
parent | 85e33f7d605e2feba2ba078dc025c7eb01e48854 (diff) |
[clang-tidy] remove needless std::move
Found with performance-move-const-arg
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ThreadBackgroundCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ThreadBackgroundCommand.cxx b/src/client/ThreadBackgroundCommand.cxx index 1225158f8..c50f2471e 100644 --- a/src/client/ThreadBackgroundCommand.cxx +++ b/src/client/ThreadBackgroundCommand.cxx @@ -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); |