From ecb8450d5e0a5dd1107b91a4874fafcdd483c26f Mon Sep 17 00:00:00 2001 From: Michael Carlstrom Date: Fri, 21 Feb 2025 23:51:13 -0500 Subject: [PATCH] Switch variable name away from macro Signed-off-by: Michael Carlstrom --- include/pybind11/cast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 620fd7622b..bdeece84e8 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -1362,8 +1362,8 @@ str_attr_accessor object_api::attr_with_type_hint(const char *key) const { const char *text = make_caster::name.text; - size_t _ = 0; - ann[key] = generate_signature(text, 0, 0, _, _, true); + size_t unused = 0; + ann[key] = generate_signature(text, 0, 0, unused, unused, true); return {derived(), key}; }