diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 17b10157b5..1ec2080f8a 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(); @@ -1224,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)))...); }