diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index b444c83ca..86cc0e507 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -910,7 +910,6 @@ public: protected: friend class type_caster_generic; - void check_holder_compat() {} void load_value(value_and_holder &&v_h) { if (typeinfo->default_holder) {