Skip to content
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

Use dynamic_cast instead of reinterpret_cast in HeavyFlavorAnalysis #17173

Merged
merged 1 commit into from Jan 14, 2017

Conversation

Dr15Jones
Copy link
Contributor

The original code assumed calling reinterpret_cast on a pointer
would return 0 if the pointer was of the wrong type. That is not
the case. The code was changed to use dynamic_cast instead which
does have that behavior.

This problem was found by gcc 6.3 (it was a warning).

The original code assumed calling reinterpret_cast on a pointer
would return 0 if the pointer was of the wrong type. That is not
the case. The code was changed to use dynamic_cast instead which
does have that behavior.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_9_0_X.

It involves the following packages:

HeavyFlavorAnalysis/SpecificDecay

@cmsbuild, @monttj, @davidlange6 can you please review it and eventually sign? Thanks.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 13, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17279/console Started: 2017/01/13 17:54

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@davidlange6 davidlange6 merged commit 8a5b58f into cms-sw:CMSSW_9_0_X Jan 14, 2017
@Dr15Jones Dr15Jones deleted the useDynamicCast branch February 13, 2017 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants