Fix AFPSOFT-22 according to Scott Snyder suggestion.
Moved initialisation and definition of static const class members to source files, becuase anyway the variables would have to be defined in source files if they are ever bound to a reference. Lack of definition can cause link failures, but often only in debug builds. See <https://stackoverflow.com/questions/5391973/undefined-reference-to-static-const-int>
Showing
- Event/xAOD/xAODForward/Root/AFPClusterAlgID.cxx 18 additions, 0 deletionsEvent/xAOD/xAODForward/Root/AFPClusterAlgID.cxx
- Event/xAOD/xAODForward/Root/AFPPixelLayerID.cxx 18 additions, 0 deletionsEvent/xAOD/xAODForward/Root/AFPPixelLayerID.cxx
- Event/xAOD/xAODForward/Root/AFPStationID.cxx 18 additions, 0 deletionsEvent/xAOD/xAODForward/Root/AFPStationID.cxx
- Event/xAOD/xAODForward/xAODForward/AFPClusterAlgID.h 2 additions, 2 deletionsEvent/xAOD/xAODForward/xAODForward/AFPClusterAlgID.h
- Event/xAOD/xAODForward/xAODForward/AFPPixelLayerID.h 4 additions, 4 deletionsEvent/xAOD/xAODForward/xAODForward/AFPPixelLayerID.h
- Event/xAOD/xAODForward/xAODForward/AFPStationID.h 4 additions, 4 deletionsEvent/xAOD/xAODForward/xAODForward/AFPStationID.h
Loading
Please register or sign in to comment