[clangd] Fix a use after move

Introduced in r352494.

llvm-svn: 352612
This commit is contained in:
Ilya Biryukov 2019-01-30 09:39:01 +00:00
parent 32959e683a
commit c9409c6d86
1 changed files with 2 additions and 2 deletions

View File

@ -697,8 +697,8 @@ void ClangdLSPServer::onCodeAction(const CodeActionParams &Params,
};
Server->enumerateTweaks(File.file(), Params.range,
Bind(ConsumeActions, std::move(Reply),
std::move(File), std::move(*Code), Params.range,
Bind(ConsumeActions, std::move(Reply), File,
std::move(*Code), Params.range,
std::move(FixIts)));
}