Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -80,17 +80,17 @@ protected:
// << " create_gsto() failed."
// << std::endl;
} else {
m_gstos.push_back(std::pair<unsigned int,render_manager*>(_id,&a_mgr));
m_gstos.push_back(std::pair<unsigned int,render_manager*>(_id,&a_mgr));
}
}
return _id;
}
}
protected:
void clean_gstos() {
std::vector< std::pair<unsigned int,render_manager*> >::iterator it;
for(it=m_gstos.begin();it!=m_gstos.end();){
(*it).second->delete_gsto((*it).first);
it = m_gstos.erase(it);
it = m_gstos.erase(it);
}
}
void clean_gstos(render_manager* a_mgr) {
@@ -98,7 +98,7 @@ protected:
for(it=m_gstos.begin();it!=m_gstos.end();){
if((*it).second==a_mgr) {
(*it).second->delete_gsto((*it).first);
it = m_gstos.erase(it);
it = m_gstos.erase(it);
} else {
it++;
}