summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/unittests/IndexActionTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/unittests/IndexActionTests.cpp')
-rw-r--r--clang-tools-extra/clangd/unittests/IndexActionTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/unittests/IndexActionTests.cpp b/clang-tools-extra/clangd/unittests/IndexActionTests.cpp
index 7d7a3c189c7..4ca86e8190e 100644
--- a/clang-tools-extra/clangd/unittests/IndexActionTests.cpp
+++ b/clang-tools-extra/clangd/unittests/IndexActionTests.cpp
@@ -88,7 +88,7 @@ public:
Args.push_back(MainFilePath);
tooling::ToolInvocation Invocation(
- Args, Action.release(), Files.get(),
+ Args, std::move(Action), Files.get(),
std::make_shared<PCHContainerOperations>());
Invocation.run();
OpenPOWER on IntegriCloud