diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 624b8ebac..84cf8dafa 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -878,9 +878,6 @@ struct always_construct_holder { template struct is_holder_type : std::is_base_of, detail::type_caster> {}; -// Specialization for always-supported unique_ptr holders: -template -struct is_holder_type> : std::true_type {}; #ifdef PYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMPLEMENTATION // See PR #4888