Skip to content

Commit

Permalink
Merge pull request #28273 from smuzaffar/gcc9-RecoecoTrackerTkHitPairs
Browse files Browse the repository at this point in the history
[GCC9] fix base class initialization warning for RecoTracker/TkHitPairs
  • Loading branch information
cmsbuild committed Oct 25, 2019
2 parents 3717faa + e6eba7e commit de979e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RecoTracker/TkHitPairs/src/CombinedHitPairGenerator.cc
Expand Up @@ -11,7 +11,8 @@ CombinedHitPairGenerator::CombinedHitPairGenerator(const edm::ParameterSet& cfg,
}

CombinedHitPairGenerator::CombinedHitPairGenerator(const CombinedHitPairGenerator& cb)
: theSeedingLayerToken(cb.theSeedingLayerToken),
: HitPairGenerator(cb),
theSeedingLayerToken(cb.theSeedingLayerToken),
theGenerator(std::make_unique<HitPairGeneratorFromLayerPair>(0, 1, &theLayerCache, cb.theMaxElement)) {
theMaxElement = cb.theMaxElement;
}
Expand Down

0 comments on commit de979e9

Please sign in to comment.