Skip to content
Snippets Groups Projects

Draft: Move class with utility functions to namespace

Closed 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading