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

Made Reflection::solid a const member function #7436

Merged
merged 1 commit into from Jan 29, 2015

Conversation

Dr15Jones
Copy link
Contributor

The static analyzer complained that a class which held a Reflection
object by pointer was calling a non-const function, 'solid', of
Reflection from a const function of the holding class. Since 'solid'
never actually changed the state of a Reflection it was trivial
to change to be const.

The static analyzer complained that a class which held a Reflection
object by pointer was calling a non-const function, 'solid', of
Reflection from a const function of the holding class. Since 'solid'
never actually changed the state of a Reflection it was trivial
to change to be const.
@cmsbuild
Copy link
Contributor

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

Made Reflection::solid a const member function

It involves the following packages:

DetectorDescription/Core

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @nclopezo, @ktf can you please review it and eventually sign? Thanks.
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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.

@Dr15Jones
Copy link
Contributor Author

please test

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes or unless it breaks tests.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes or unless it breaks tests.

@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_4_X IBs unless changes (tests are also fine). This pull request will be automatically merged.

cmsbuild added a commit that referenced this pull request Jan 29, 2015
Made Reflection::solid a const member function
@cmsbuild cmsbuild merged commit 0c4ed13 into cms-sw:CMSSW_7_4_X Jan 29, 2015
@cmsbuild
Copy link
Contributor

@Dr15Jones Dr15Jones deleted the makeSolidConst branch February 25, 2015 20:14
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

2 participants