Skip to content
Snippets Groups Projects
Commit bd032513 authored by Ruggero Turra's avatar Ruggero Turra :headphones:
Browse files

explicit type in for range loop instead of auto

Former-commit-id: 25fccd2ace45b6e004d66e2e9bb343c4769e57f1
parent b2585c32
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ double PMGCrossSectionTool::getSampleXsection(const int dsid) const
std::vector<int> PMGCrossSectionTool::getLoadedDSIDs() const {
std::vector<int> dsids;
dsids.reserve(fStoreSampleInfo.size());
for (const auto& key_info : fStoreSampleInfo) {
for (const std::pair<unsigned, AllSampleInfo>& key_info : fStoreSampleInfo) {
dsids.push_back(key_info.second.dsid);
}
return dsids;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment