Commit ab59f45d by Laramie Leavitt Committed by GitHub

Prefer make_caster<T> to type_caster<T> (#3859)

parent c4e29528
...@@ -514,7 +514,7 @@ struct type_caster<std::basic_string_view<CharT, Traits>, ...@@ -514,7 +514,7 @@ struct type_caster<std::basic_string_view<CharT, Traits>,
template <typename CharT> template <typename CharT>
struct type_caster<CharT, enable_if_t<is_std_char_type<CharT>::value>> { struct type_caster<CharT, enable_if_t<is_std_char_type<CharT>::value>> {
using StringType = std::basic_string<CharT>; using StringType = std::basic_string<CharT>;
using StringCaster = type_caster<StringType>; using StringCaster = make_caster<StringType>;
StringCaster str_caster; StringCaster str_caster;
bool none = false; bool none = false;
CharT one_char = 0; CharT one_char = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment