Skip to content

Commit

Permalink
Merge pull request #28943 from vgvassilev/cxxmodules_fix_dataformats_…
Browse files Browse the repository at this point in the history
…jetreco

[cxxmodules] Workaround missing CLHEP modulemap for JetReco.
  • Loading branch information
cmsbuild committed Feb 14, 2020
2 parents 2a4484e + bcfd273 commit 891e797
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DataFormats/JetReco/src/classes_3.h
Expand Up @@ -5,6 +5,12 @@

#include "DataFormats/JetReco/interface/BasicJetCollection.h"
#include "DataFormats/JetReco/interface/CaloJetCollection.h"
#if defined __has_feature
#if __has_feature(modules)
// Workaround the missing CLHEP.modulemap: CLHEP/Vector/ThreeVector.h:41:7: error: redefinition of 'Hep3Vector'
#include "DataFormats/JetReco/interface/PFClusterJetCollection.h"
#endif
#endif
#include "DataFormats/JetReco/interface/JPTJetCollection.h"
#include "DataFormats/JetReco/interface/GenJetCollection.h"
#include "DataFormats/JetReco/interface/PFJetCollection.h"
Expand Down

0 comments on commit 891e797

Please sign in to comment.