From d63398d32da8948fae80ce2e29f9ca139112a03f Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 12 Jun 2019 12:51:01 -0400 Subject: fileapi: Suppress lint warning about non-move with old jsoncpp --- Source/cmFileAPI.cxx | 6 +++--- 1 file 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; -- cgit v0.12