Skip to content

Fixed build warning in TopConfiguration

Thomas Strebler requested to merge tstreble-21.2-patch-78530 into 21.2

Update order of variable declarations to match initialisation in TopConfig.

Fixes the following compilation warning

In file included from /var/lib/jenkins/workspace/CI-MERGE-REQUEST-CC7/21.2/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/TopConfig.cxx:5:
/var/lib/jenkins/workspace/CI-MERGE-REQUEST-CC7/21.2/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/TopConfiguration/TopConfig.h: In constructor 'top::TopConfig::TopConfig()':
/var/lib/jenkins/workspace/CI-MERGE-REQUEST-CC7/21.2/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/TopConfiguration/TopConfig.h:2613:10: warning: 'top::TopConfig::m_useEgammaSFs' will be initialized after [-Wreorder]
     bool m_useEgammaSFs; // nils
          ^~~~~~~~~~~~~~
/var/lib/jenkins/workspace/CI-MERGE-REQUEST-CC7/21.2/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/TopConfiguration/TopConfig.h:2612:10: warning:   'bool top::TopConfig::m_enablePromptLeptonImprovedVetoStudies' [-Wreorder]
     bool m_enablePromptLeptonImprovedVetoStudies;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/jenkins/workspace/CI-MERGE-REQUEST-CC7/21.2/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/TopConfig.cxx:24:3: warning:   when initialized here [-Wreorder]
   TopConfig::TopConfig() :
   ^~~~~~~~~

Merge request reports