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() {