summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-12 16:51:01 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-12 16:51:32 (GMT)
commitd63398d32da8948fae80ce2e29f9ca139112a03f (patch)
tree1f8cbce1edc8ded1fe0c83e5a316e7ab1434ad6a /Source
parentc932f498426609beb14b9339c2a7dec3ea624998 (diff)
downloadCMake-d63398d32da8948fae80ce2e29f9ca139112a03f.zip
CMake-d63398d32da8948fae80ce2e29f9ca139112a03f.tar.gz
CMake-d63398d32da8948fae80ce2e29f9ca139112a03f.tar.bz2
fileapi: Suppress lint warning about non-move with old jsoncpp
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFileAPI.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFileAPI.cxx b/Source/cmFileAPI.cxx
index ed45398..ba42669 100644
--- a/Source/cmFileAPI.cxx
+++ b/Source/cmFileAPI.cxx
@@ -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;