diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-12-16 13:34:26 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-12-19 16:17:46 +0100 |
commit | 0042c50301d2e959e9e7487f0f4ab37cef245979 (patch) | |
tree | 5b3b274e001b7add63663dcbafd1e29fd53448a0 /src/buildtool/execution_api/execution_service/server_implementation.cpp | |
parent | ae42d0cf824f6dd08eee400bf6c4ad01ecd4e567 (diff) | |
download | justbuild-0042c50301d2e959e9e7487f0f4ab37cef245979.tar.gz |
Remove unnecessary moves
Diffstat (limited to 'src/buildtool/execution_api/execution_service/server_implementation.cpp')
-rw-r--r-- | src/buildtool/execution_api/execution_service/server_implementation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/execution_service/server_implementation.cpp b/src/buildtool/execution_api/execution_service/server_implementation.cpp index bca5ab8f..d88c12a4 100644 --- a/src/buildtool/execution_api/execution_service/server_implementation.cpp +++ b/src/buildtool/execution_api/execution_service/server_implementation.cpp @@ -85,7 +85,7 @@ auto ServerImpl::Create(std::optional<std::string> interface, if (pid_file) { server.pid_file_ = std::move(*pid_file); } - return std::move(server); + return server; } auto ServerImpl::Run(gsl::not_null<LocalContext const*> const& local_context, |