From 0296d33b1d2cbd7eeb1c427878738cea9bc0932a Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 8 Jul 2024 17:43:31 -0700 Subject: [PATCH] Stress test: use PYBIND11_SMART_HOLDER_PADDING unconditionally. --- include/pybind11/detail/smart_holder_poc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/detail/smart_holder_poc.h b/include/pybind11/detail/smart_holder_poc.h index 3740964f0..1db16b6d6 100644 --- a/include/pybind11/detail/smart_holder_poc.h +++ b/include/pybind11/detail/smart_holder_poc.h @@ -138,7 +138,7 @@ inline bool is_std_default_delete(const std::type_info &rtti_deleter) { || rtti_deleter == typeid(std::default_delete); } -#ifndef NDEBUG +#if !defined(NDEBUG) || true // BAKEIN_WIP: Stress test. # define PYBIND11_SMART_HOLDER_PADDING(N) int PADDING_##N##_[11] #else # define PYBIND11_SMART_HOLDER_PADDING(N)