From d021bb10aacf0acf096a02fa42471e73a97b37f4 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 12 Jul 2024 08:31:35 -0700 Subject: [PATCH] Remove redundant `check_holder_compat()` no-op implementation. --- include/pybind11/cast.h | 1 - 1 file changed, 1 deletion(-) 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) {