From bd8d17e0d264cd1f29b60ef8808059933a9bf6f3 Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Tue, 17 Nov 2026 15:25:22 +0100 Subject: [PATCH] [cppjit] Fix test with Boost 1.66.0 In this release, it was not possible to const-qualify the signature, but you had to const-qualify the second argument. Only with the next version 1.67.0, improved BOOST_TYPE_ERASURE_MEMBER: concept_name is an alias for concept_name. Disclaimer: I'm not sure if this was maybe the point of the test, added by cppyy commit https://github.com/wlav/cppyy/commit/2aa98f6d7fae36ae67f42068dfce4e463d99c2bf --- bindings/pyroot/cppjit/test/test_boost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/pyroot/cppjit/test/test_boost.py b/bindings/pyroot/cppjit/test/test_boost.py index 157c066ffb448..e81914a36973e 100644 --- a/bindings/pyroot/cppjit/test/test_boost.py +++ b/bindings/pyroot/cppjit/test/test_boost.py @@ -197,12 +197,12 @@ def test01_erasure_usage(self): using LengthsInterface = boost::mpl::vector< boost::type_erasure::copy_constructible<>, - has_member_f() const>>; + has_member_f()>>; using Lengths = boost::type_erasure::any; struct Unerased { - std::vector f() const { return std::vector{}; } + std::vector f() { return std::vector{}; } }; Lengths lengths() {