Skip to content

Commit

Permalink
remove unused cast operators
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Oct 20, 2020
1 parent 6a85f82 commit 7254b3b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/pybind11/cast.h
Original file line number Diff line number Diff line change
Expand Up @@ -1587,9 +1587,6 @@ struct move_only_holder_caster : public type_caster_base<type> {

template <typename T> using cast_op_type = detail::movable_cast_op_type<T>;

explicit operator type*() { return this->value; }
explicit operator type&() { return *(this->value); }

// Workaround for Intel compiler bug
// see pybind11 issue 94
#if !defined(__ICC) && !defined(__INTEL_COMPILER)
Expand Down

0 comments on commit 7254b3b

Please sign in to comment.