From 98db6e74a1996f207d1e1c143a131dbe36c4468c Mon Sep 17 00:00:00 2001 From: zhaohaifei <32253291+zhaohaifei@users.noreply.github.com> Date: Fri, 11 Mar 2022 10:31:50 +0800 Subject: [PATCH] fix review --- src/graph/executor/admin/SpaceExecutor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/executor/admin/SpaceExecutor.cpp b/src/graph/executor/admin/SpaceExecutor.cpp index a95630e8012..d08fca3b7e8 100644 --- a/src/graph/executor/admin/SpaceExecutor.cpp +++ b/src/graph/executor/admin/SpaceExecutor.cpp @@ -198,7 +198,7 @@ folly::Future ClearSpaceExecutor::execute() { ->getMetaClient() ->clearSpace(csNode->getSpaceName(), csNode->getIfExists()) .via(runner()) - .thenValue([this, csNode, spaceIdRet, ftIndexes](StatusOr resp) { + .thenValue([this, csNode, spaceIdRet, ftIndexes = std::move(ftIndexes)](StatusOr resp) { if (!resp.ok()) { LOG(ERROR) << "Clear space `" << csNode->getSpaceName() << "' failed: " << resp.status(); return resp.status();