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

Use unique_ptr, not auto_ptr, in CommonTools #14277

Merged
merged 1 commit into from Apr 28, 2016

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Apr 27, 2016

The last use of the deprecated std::auto_ptr in the CMS framework is the "put" interface for EDProducts, which also supports std::unique:ptr. This PR changes all put calls in CommonTools (which is used by both reco and analysis) to use std::unique_ptr instead of std::auto_ptr. Some other instances of std::auto_ptr in CommonTools may also have been changed to std::unique_ptr.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wmtan for CMSSW_8_1_X.

It involves the following packages:

CommonTools/CandAlgos
CommonTools/ParticleFlow
CommonTools/PileupAlgos
CommonTools/RecoAlgos
CommonTools/RecoUtils
CommonTools/TriggerUtils
CommonTools/UtilAlgos

@cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@rappoccio, @jdolen, @makortel, @abbiendi, @jhgoh, @ahinzmann, @cbernet this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@wmtan
Copy link
Contributor Author

wmtan commented Apr 27, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 27, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12677/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@davidlange6 davidlange6 merged commit a6eafda into cms-sw:CMSSW_8_1_X Apr 28, 2016
@wmtan wmtan changed the title Unse unique_ptr, not auto_ptr, in CommonTools Use unique_ptr, not auto_ptr, in CommonTools May 3, 2016
@wmtan wmtan deleted the UseUniquePtrInCommonTools branch May 26, 2016 04:32
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