Fixing NOLINT mishap (#3260)

* Removing NOLINT pointed out by Aaron.

* Removing another NOLINT.
This commit is contained in:
Ralf W. Grosse-Kunstleve 2021-09-10 07:16:09 -07:00 committed by GitHub
parent ae07d4c6c6
commit 121b91f99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)))...);
}