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

Make pointers to error strings const in TinyXML #5947

Conversation

Dr15Jones
Copy link
Contributor

The static analyzer (correctly) pointed to the fact that the array of pointers to the error strings in TinyXML kept one from changing the strings but did not keep one from changing the addresses of the pointers in the array. Making the pointers const solves that problem and guarantees immutability.

The static analyzer (correctly) pointed to the fact that the array of pointers to the error strings in TinyXML kept one from changing the strings but did not keep one from changing the addresses of the pointers in the array. Making the pointers const solves that problem and guarantees immutability.
@cmsbuild
Copy link
Contributor

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

Make pointers to error strings const in TinyXML

It involves the following packages:

FWCore/Utilities

@cmsbuild, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks.
@wddgit, @wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes or unless it breaks tests. @nclopezo, @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

nclopezo added a commit that referenced this pull request Oct 23, 2014
…stInTinyXML

FWCore/Utilities -- Make pointers to error strings const in TinyXML
@nclopezo nclopezo merged commit 8f6e84a into cms-sw:CMSSW_7_3_X Oct 23, 2014
@cmsbuild
Copy link
Contributor

@Dr15Jones Dr15Jones deleted the makePointersToErrorStringsConstInTinyXML branch October 28, 2014 23:59
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