-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataFormats/TrackReco: remove intrusive macros breaking stdlibc++ #11590
DataFormats/TrackReco: remove intrusive macros breaking stdlibc++ #11590
Conversation
The test itself is moved to `test::TestHitPattern::test()` for a better isolation and friendship is added with `reco::HitPattern`. This also revealed that `struct PatternSet` must be a friend with `reco::HitPattern`. `PatternSet` ctor calls public `PatternSet::fill` method, which calls `HitPattern::call` which is private. The code was relaying on `#define private public` to get these class working together. Signed-off-by: David Abdurachmanov <[email protected]>
A new Pull Request was created by @davidlt for CMSSW_7_6_X. DataFormats/TrackReco: remove intrusive macros breaking stdlibc++ It involves the following packages: DataFormats/TrackReco @cmsbuild, @cvuosalo, @slava77 can you please review it and eventually sign? Thanks. |
The jenkins tests job failed, please try again. |
please test |
The tests are being triggered in jenkins. |
ping^1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
+1 |
DataFormats/TrackReco: remove intrusive macros breaking stdlibc++
The test itself is moved to
test::TestHitPattern::test()
for a betterisolation and friendship is added with
reco::HitPattern
.This also revealed that
struct PatternSet
must be a friend withreco::HitPattern
.PatternSet
ctor calls publicPatternSet::fill
method, which calls
HitPattern::call
which is private. The code wasrelaying on
#define private public
to get these class workingtogether.
Compiles fine and test is working.
Signed-off-by: David Abdurachmanov [email protected]