Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 20, 2023
1 parent 26949b3 commit 352b04d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/pybind11/cast.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ typename make_caster<T>::template cast_op_type<T> cast_op(make_caster<T> &caster
template <typename T>
typename make_caster<T>::template cast_op_type<typename std::add_rvalue_reference<T>::type>
cast_op(make_caster<T> &&caster) {
using result_t = typename make_caster<T>::template cast_op_type<typename std::add_rvalue_reference<T>::type>;
using result_t = typename make_caster<T>::template cast_op_type<
typename std::add_rvalue_reference<T>::type>;
return std::move(caster).operator result_t();
}

Expand Down

0 comments on commit 352b04d

Please sign in to comment.