Commit b8ac5a0e authored by Daniel Pfeifer's avatar Daniel Pfeifer
Browse files

cmServerProtocol: Remove ineffective std::move.

Json::Value has a move constructor but no move assigment operator!
parent 2ade9a02
Pipeline #69792 passed with stage
......@@ -811,8 +811,8 @@ static Json::Value DumpTarget(cmGeneratorTarget* target,
DumpBacktraceRange(statements, "target_link_libraries",
target->Target->GetLinkImplementationBacktraces());
crossRefs[kRELATED_STATEMENTS_KEY] = std::move(statements);
result[kTARGET_CROSS_REFERENCES_KEY] = std::move(crossRefs);
crossRefs[kRELATED_STATEMENTS_KEY] = statements;
result[kTARGET_CROSS_REFERENCES_KEY] = crossRefs;
if (target->HaveWellDefinedOutputFiles()) {
Json::Value artifacts = Json::arrayValue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment