Skip to content

ROOT Dictionaries: Use ClassDefOverride Macro

Simon Spannagel requested to merge classdefoverride into master

I found that there is a more correct way of dealing with dictionary classes containing the override keyword. One should use the ClassDefOverride macro instead of ClassDef for the dictionary generation. This sets the override keyword appropriately in the generated ROOT dictionary class:

https://root.cern.ch/doc/v610/Rtypes_8h.html#a2a2523b6918127b57726696aaf4ba105

I must say I don't fully understand the mechanism here, but it looks sane as far as I can tell. Feel free to merge if pipeline finishes successfully.

Merge request reports