Skip to content

Commit fb174cf

Browse files
committed
Removed inequality from type annotation
1 parent 31c4c78 commit fb174cf

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
@@ -767,7 +767,7 @@ template <typename CharT> struct type_caster<CharT, enable_if_t<is_std_char_type
767767
}
768768

769769
// chr()/unichr() isn't technically a type, but it should get the point across:
770-
PYBIND11_TYPE_CASTER(CharT, _(PYBIND11_CHR_NAME "(") + _<(max <= 0xffff)>(_("<=") + _<max>(), _("")) + _(")"));
770+
PYBIND11_TYPE_CASTER(CharT, _(PYBIND11_CHR_NAME "()"));
771771
};
772772

773773
template <typename T1, typename T2> class type_caster<std::pair<T1, T2>> {

0 commit comments

Comments
 (0)