Workaround for ROOT-15030

as reported in ROOT-10530, the new version of ROOT chokes on some special constructs, in particular

std::unique_ptr<Base> p(std::make_unique<Derived>());

(but only in some cases) and something with std::variant.

This change avoids the issue, allowing to easily test if the problem is fixed.

Merge request reports

Loading