Commit d63398d3 authored by Brad King's avatar Brad King
Browse files

fileapi: Suppress lint warning about non-move with old jsoncpp

parent c932f498
......@@ -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