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

Commits on Jan 13, 2017

  1. Use dynamic_cast instead of reinterpret_cast in HeavyFlavorAnalysis

    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.
    Dr15Jones committed Jan 13, 2017
    Copy the full SHA
    7721225 View commit details
    Browse the repository at this point in the history