From 121b91f99c9044e12ea1f746d7f3e586c41529c8 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 10 Sep 2021 07:16:09 -0700 Subject: [PATCH] Fixing NOLINT mishap (#3260) * Removing NOLINT pointed out by Aaron. * Removing another NOLINT. --- include/pybind11/cast.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 17b10157b..1ec2080f8 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -1200,7 +1200,6 @@ public: } 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(); @@ -1224,7 +1223,6 @@ private: } 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)))...); }