From ab59f45d2ee05b1df299021b62ab1f59a768e285 Mon Sep 17 00:00:00 2001 From: Laramie Leavitt Date: Mon, 11 Apr 2022 10:36:24 -0700 Subject: [PATCH] Prefer make_caster to type_caster (#3859) --- include/pybind11/cast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 07a56e71f..bead97f91 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -514,7 +514,7 @@ struct type_caster, template struct type_caster::value>> { using StringType = std::basic_string; - using StringCaster = type_caster; + using StringCaster = make_caster; StringCaster str_caster; bool none = false; CharT one_char = 0;