| 85 |
|
atype1 = atomTypes->nextType(i1)) { |
| 86 |
|
|
| 87 |
|
// add it to the map: |
| 88 |
– |
AtomTypeProperties atp = atype1->getATP(); |
| 88 |
|
|
| 89 |
|
pair<map<int,AtomType*>::iterator,bool> ret; |
| 90 |
< |
ret = typeMap_.insert( pair<int, AtomType*>(atp.ident, atype1) ); |
| 90 |
> |
ret = typeMap_.insert( pair<int, AtomType*>(atype1->getIdent(), atype1) ); |
| 91 |
|
if (ret.second == false) { |
| 92 |
|
sprintf( painCave.errMsg, |
| 93 |
|
"InteractionManager already had a previous entry with ident %d\n", |
| 94 |
< |
atp.ident); |
| 94 |
> |
atype1->getIdent()); |
| 95 |
|
painCave.severity = OPENMD_INFO; |
| 96 |
|
painCave.isFatal = 0; |
| 97 |
|
simError(); |