We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae07d4c commit 121b91fCopy full SHA for 121b91f
include/pybind11/cast.h
@@ -1200,7 +1200,6 @@ class argument_loader {
1200
}
1201
1202
template <typename Return, typename Guard, typename Func>
1203
- // NOLINTNEXTLINE(readability-const-return-type)
1204
enable_if_t<std::is_void<Return>::value, void_type> call(Func &&f) && {
1205
std::move(*this).template call_impl<remove_cv_t<Return>>(std::forward<Func>(f), indices{}, Guard{});
1206
return void_type();
@@ -1224,7 +1223,6 @@ class argument_loader {
1224
1223
1225
1226
template <typename Return, typename Func, size_t... Is, typename Guard>
1227
1228
Return call_impl(Func &&f, index_sequence<Is...>, Guard &&) && {
1229
return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...);
1230
0 commit comments