From 4f6f5cb6e907ab2352733c4756bf68662e9c3f01 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Tue, 13 Aug 2024 23:37:10 -0700 Subject: [PATCH] #error "Intentional Breakage" (to verify: PYBIND11_ACTUALLY_USING_SMART_HOLDER_AS_DEFAULT) --- include/pybind11/pybind11.h | 1 + 1 file changed, 1 insertion(+) 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;