diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 2a88a94ac..68a0686c5 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -1824,6 +1824,7 @@ struct property_cpp_function< # define PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT template using default_holder_type = smart_holder; +# error "Intentional Breakage" #else template using default_holder_type = std::unique_ptr;