Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -122,7 +122,7 @@ inline bool remove(std::vector< std::pair<K,V> >& a_vec,const K& a_key,bool a_de
|
||||
it_t it;
|
||||
for(it=a_vec.begin();it!=a_vec.end();++it) {
|
||||
if((*it).first==a_key) {
|
||||
V val = (*it).second;
|
||||
V val = (*it).second;
|
||||
a_vec.erase(it);
|
||||
if(a_delete) delete val;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user