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

Catch-all printValue implementation changed from refs to pointers #78

Merged
merged 2 commits into from
Aug 20, 2015

Conversation

perovic
Copy link
Contributor

@perovic perovic commented Aug 20, 2015

Catch-all printValue implementation changed to enable correct invocation if only parent type overload exists (ex. if there is no overload for TF1*, compiler invokes the overload to its best parent overload match, in the worst case void*).

Argument changed from reference to pointer to support this.
isEnumType Coverity bug changed from if to assert (coding, not runtime error)
Changed the way printValue is invoked in order to correctly cast Value to the needed value (e.g. LL -> short). Extracted value stays in scope while we execute printValue, because we use the address.

Boris Perovic added 2 commits August 20, 2015 16:34
…ion if only parent type overload exists (ex. if there is no overload for TF1*, compiler invokes the overload to its best parent overload match, in the worst case void*).

Argument changed from reference to pointer to support this.
isEnumType Coverity bug changed from if to assert (coding, not runtime error)
Changed the way printValue is invoked in order to correctly cast Value to the needed value (e.g. LL -> short). Extracted value stays in scope while we execute printValue, because we use the address.
…ding "RuntimePrintValue.h".

Should be looked into in the future.
@FonsRademakers FonsRademakers merged commit d68a399 into root-project:master Aug 20, 2015
@perovic perovic deleted the CatchAll branch August 20, 2015 15:06
Dr15Jones pushed a commit to Dr15Jones/root that referenced this pull request Sep 22, 2015
…ManyBranches

Support TTree with more than 32766 branch in TTreeFormula.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants