From ac50bb5d2bbe1dad81eac6a6fd84d1f0d25eccab Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 5 Feb 2020 16:47:14 -0800 Subject: [clang-tidy] remove needless std::move Found with performance-move-const-arg Signed-off-by: Rosen Penev --- src/client/ThreadBackgroundCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') 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); -- cgit v1.2.3