TClass generates dictionary for transient std::unique_ptr
member when it shouldn't
#13361
Open
1 task done
Labels
Check duplicate issues.
Description
This issue stems from the problems arisen in #13134 . Among the
webgui
classes, there is the following layout:Which leads to failures in
roottest-root-core-execStatusBitsCheck
when building withruntime_cxxmodules=OFF
:As per the discussion in the linked PR, it seems that
TClass
is always generating dictionaries for thestd::unique_ptr
data member, even if it's transient. As things stand, the only "fix" is to move theRBrowserDataCleanup
class from the implementation file to the header, and addingClassDef
macro since it inherits fromTObject
. An alternative workaround was changingstd::unique_ptr<RBrowserDataCleanup>
toRBrowserDataCleanup *
, which is treated transparently in case of a transient member.Reproducer
ROOT version
master
Installation method
built from sources
Operating system
linux
Additional context
No response
The text was updated successfully, but these errors were encountered: