-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 when constructing ProductHolders #12920
Use unique_ptr when constructing ProductHolders #12920
Conversation
Change the interface in Principal from auto_ptr to unique_ptr when constructing ProductHolders.
A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_8_0_X. It involves the following packages: FWCore/Framework @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks. Following commands in first line of a comment are recognized
|
please test |
+1 |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
Use unique_ptr when constructing ProductHolders
thanks! |
-1 >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-11-1100/src/DataFormats/Provenance/src/ProductIDToBranchID.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-11-1100/src/DataFormats/Provenance/src/ProductProvenance.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-11-1100/src/DataFormats/Provenance/src/ProductProvenanceRetriever.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-11-1100/src/DataFormats/Provenance/src/ProductRegistry.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-11-1100/src/DataFormats/Provenance/src/Provenance.cc /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-11-1100/src/DataFormats/Provenance/src/ParentageRegistry.cc:36:18: error: no member named 'emplace' in 'tbb::interface5::concurrent_unordered_mapedm::Hash<5, edm::Parentage, edm::ParentageRegistry::key_hash, std::equal_toedm::Hash<5 >, tbb::tbb_allocator, edm::Parentage> > >' return m_map.emplace(v.id(),std::move(v)).second; ~~~~~ ^ 1 error generated. gmake: **\* [tmp/slc6_amd64_gcc493/src/DataFormats/Provenance/src/DataFormatsProvenance/ParentageRegistry.o] Error 1 >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-11-1100/src/DataFormats/Provenance/src/RunAux.cc you can see the results of the tests here: The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
llvm is unhappy? I don't think it came from this pull since that file doesn't read the header I changed. |
Known issue. Needs to be fixed at TBB level to properly detect Clang in this case. You don't get C++11 |
Change the interface in Principal from auto_ptr to unique_ptr when constructing ProductHolders.