Commit 8f8b9539 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'capabilities-fileapi'

d63398d3 fileapi: Suppress lint warning about non-move with old jsoncpp
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3442
parents 6903c5bb d63398d3
Pipeline #139264 failed with stage
in 0 seconds
......@@ -812,7 +812,7 @@ Json::Value cmFileAPI::ReportCapabilities()
request["kind"] = ObjectKindName(ObjectKind::CodeModel);
Json::Value& versions = request["version"] = Json::arrayValue;
versions.append(BuildVersion(2, CodeModelV2Minor));
requests.append(std::move(request));
requests.append(std::move(request)); // NOLINT(*)
}
{
......@@ -820,7 +820,7 @@ Json::Value cmFileAPI::ReportCapabilities()
request["kind"] = ObjectKindName(ObjectKind::Cache);
Json::Value& versions = request["version"] = Json::arrayValue;
versions.append(BuildVersion(2, CacheV2Minor));
requests.append(std::move(request));
requests.append(std::move(request)); // NOLINT(*)
}
{
......@@ -828,7 +828,7 @@ Json::Value cmFileAPI::ReportCapabilities()
request["kind"] = ObjectKindName(ObjectKind::CMakeFiles);
Json::Value& versions = request["version"] = Json::arrayValue;
versions.append(BuildVersion(1, CMakeFilesV1Minor));
requests.append(std::move(request));
requests.append(std::move(request)); // NOLINT(*)
}
return capabilities;
......
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