mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Fixing NOLINT mishap (#3260)
* Removing NOLINT pointed out by Aaron. * Removing another NOLINT.
This commit is contained in:
parent
ae07d4c6c6
commit
121b91f99c
@ -1200,7 +1200,6 @@ public:
|
||||
}
|
||||
|
||||
template <typename Return, typename Guard, typename Func>
|
||||
// NOLINTNEXTLINE(readability-const-return-type)
|
||||
enable_if_t<std::is_void<Return>::value, void_type> call(Func &&f) && {
|
||||
std::move(*this).template call_impl<remove_cv_t<Return>>(std::forward<Func>(f), indices{}, Guard{});
|
||||
return void_type();
|
||||
@ -1224,7 +1223,6 @@ private:
|
||||
}
|
||||
|
||||
template <typename Return, typename Func, size_t... Is, typename Guard>
|
||||
// NOLINTNEXTLINE(readability-const-return-type)
|
||||
Return call_impl(Func &&f, index_sequence<Is...>, Guard &&) && {
|
||||
return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user