Skip to content

egammaAlgs : fix clang 16 warning

egammaAlgs : fix clang 16 warning

build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/photonSuperClusterBuilder.h:105:28: warning: 'searchForSecondaryClusters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  std::vector<std::size_t> searchForSecondaryClusters(
                           ^
/build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/egammaSuperClusterBuilderBase.h:83:36: note: overridden virtual function is here
  virtual std::vector<std::size_t> searchForSecondaryClusters(
                                   ^
In file included from /build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/electronSuperClusterBuilder.cxx:5:
/build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/electronSuperClusterBuilder.h:105:28: warning: 'searchForSecondaryClusters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  std::vector<std::size_t> searchForSecondaryClusters(
                           ^
/build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/egammaSuperClusterBuilderBase.h:83:36: note: overridden virtual function is here
  virtual std::vector<std::size_t> searchForSecondaryClusters(
                                   ^
In file included from /build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/components/egammaAlgs_entries.cxx:9:
/build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/components/../electronSuperClusterBuilder.h:105:28: warning: 'searchForSecondaryClusters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  std::vector<std::size_t> searchForSecondaryClusters(
                           ^
/build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/components/../egammaSuperClusterBuilderBase.h:83:36: note: overridden virtual function is here
  virtual std::vector<std::size_t> searchForSecondaryClusters(
                                   ^
In file included from /build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/components/egammaAlgs_entries.cxx:10:
/build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/components/../photonSuperClusterBuilder.h:105:28: warning: 'searchForSecondaryClusters' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  std::vector<std::size_t> searchForSecondaryClusters(
                           ^
/build/atnight/localbuilds/nightlies/Athena/main/athena/Reconstruction/egamma/egammaAlgs/src/components/../egammaSuperClusterBuilderBase.h:83:36: note: overridden virtual function is here
  virtual std::vector<std::size_t> searchForSecondaryClusters(

ping @ssnyder , @llewitt

Merge request reports

Loading