From 16a85a026a4de9024dfaa71660a5b16a027ff0b8 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 9 Sep 2021 22:23:08 -0700 Subject: [PATCH 1/2] Removing NOLINT pointed out by Aaron. --- include/pybind11/cast.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 17b10157b5..04da0d1e3b 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -1200,7 +1200,6 @@ class argument_loader { } template - // NOLINTNEXTLINE(readability-const-return-type) enable_if_t::value, void_type> call(Func &&f) && { std::move(*this).template call_impl>(std::forward(f), indices{}, Guard{}); return void_type(); From e8d3c3132e4d80c0481047d5e7ff53ee307939e4 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 9 Sep 2021 22:40:47 -0700 Subject: [PATCH 2/2] Removing another NOLINT. --- include/pybind11/cast.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 04da0d1e3b..1ec2080f8a 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -1223,7 +1223,6 @@ class argument_loader { } template - // NOLINTNEXTLINE(readability-const-return-type) Return call_impl(Func &&f, index_sequence, Guard &&) && { return std::forward(f)(cast_op(std::move(std::get(argcasters)))...); }