Skip to content

[ntuple] Discard const/volatile qualifiers in RField type names#9158

Merged
jalopezg-git merged 2 commits intoroot-project:masterfrom
jalopezg-git:ntuple-fix-issue9140
Oct 21, 2021
Merged

[ntuple] Discard const/volatile qualifiers in RField type names#9158
jalopezg-git merged 2 commits intoroot-project:masterfrom
jalopezg-git:ntuple-fix-issue9140

Conversation

@jalopezg-git
Copy link
Copy Markdown
Contributor

This pull-request changes RField's GetNormalizedType() in order to discard cv-qualifiers.

Changes or fixes:

Checklist:

  • tested changes locally

This PR fixes #9140.

RField does not care about cv-qualifiers. Use `TClassEdit::CleanType()` to
discard them in `GetNormalizedType()`.
Add a `const uint8_t` member to a user-defined struct. This member should be
written to disk regardless of the `const` qualifier.
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@phsft-bot
Copy link
Copy Markdown

Build failed on ROOT-ubuntu2004/soversion.
Running on root-ubuntu-2004-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@jalopezg-git
Copy link
Copy Markdown
Contributor Author

Failing tests:

* [projectroot.roottest.python.distrdf.roottest_python_distrdf_spark_test_reducer_merge](https://lcgapp-services.cern.ch/root-jenkins/job/root-pullrequests-build/127736/testReport/projectroot.roottest.python/distrdf/roottest_python_distrdf_spark_test_reducer_merge/)

This failure is totally unrelated.

@jalopezg-git jalopezg-git merged commit f71cf25 into root-project:master Oct 21, 2021
@jalopezg-git jalopezg-git deleted the ntuple-fix-issue9140 branch October 21, 2021 17:16
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.

[ntuple] const-qualified members of a user-defined struct do not work

3 participants