Skip to content

Commit 32ef69a

Browse files
committed
Qualify cast_op_type to help ICC
1 parent 835fa9b commit 32ef69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/cast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ template <typename type> class type_caster_base : public type_caster_generic {
835835
nullptr, nullptr, holder);
836836
}
837837

838-
template <typename T> using cast_op_type = cast_op_type<T>;
838+
template <typename T> using cast_op_type = detail::cast_op_type<T>;
839839

840840
operator itype*() { return (type *) value; }
841841
operator itype&() { if (!value) throw reference_cast_error(); return *((itype *) value); }

0 commit comments

Comments
 (0)