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

Wrapper<T>::getInterface explicitly uses a const static #1025

Merged

Conversation

Dr15Jones
Copy link
Contributor

The value returned from Wrapper::getInterface was always const but internally the function held a non-const static. We now changed it to a ‘const’ static since that was its real behavior and using a ‘const static’ avoids confusing our thread safety checkers

The value returned from Wrapper<T>::getInterface was always const but internally the function held a non-const static. We now changed it to a ‘const’ static since that was its real behavior and using a ‘const static’ avoids confusing our thread safety checkers
@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 8, 2013

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

@nclopezo
Copy link
Contributor

nclopezo commented Oct 9, 2013

ktf added a commit that referenced this pull request Oct 9, 2013
…tatic

Multithreaded framework -- Wrapper<T>::getInterface explicitly uses a const static
@ktf ktf merged commit 987f4b2 into cms-sw:CMSSW_7_0_X Oct 9, 2013
vshang pushed a commit to vshang/cmssw that referenced this pull request Mar 16, 2023
Apply ECAL ZS to caloParams_2022_v0_2, add to customiseSettings
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

4 participants