Skip to content

Draft: Move class with utility functions to namespace

Florian Uhlig requested to merge f.uhlig/cbmroot:test_rich_reco into master

When compiling rich reconstruction classes afer changing the build system one gets the following error

reco/detectors/rich/CbmRichConverter.h:49:17: error: invalid use of member 'fRichHits' in static member function if (NULL == fRichHits) { Init(); }

The only way I found to fix the issue was to implement the utility functions in a namespace with the data member defined in an anonymous namespace.

Merge request reports