# | Line 3 | Line 3 | |
---|---|---|
3 | ||
4 | #include "MakeStamps.hpp" | |
5 | #include "MoleculeStamp.hpp" | |
6 | + | #include "simError.h" |
7 | ||
8 | LinkedMolStamp::~LinkedMolStamp(){ | |
9 | if( mol_stamp != NULL ) delete mol_stamp; | |
# | Line 58 | Line 59 | int MakeStamps::hash( char* text ){ | |
59 | ||
60 | // if the key is less than zero, we've had an overflow error | |
61 | ||
62 | < | fprintf( stderr, |
62 | > | sprintf( painCave.errMsg, |
63 | "There has been an overflow error in the hash key."); | |
64 | < | exit(0); |
64 | > | painCave.isFatal = 1; |
65 | > | simError(); |
66 | } | |
67 | ||
68 | return key; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |