Make parameter assignment args const char* and reduce strcpy 63/5163/1
authorJim Phillips <jim@ks.uiuc.edu>
Fri, 3 May 2019 20:43:37 +0000 (15:43 -0500)
committerJim Phillips <jim@ks.uiuc.edu>
Fri, 3 May 2019 20:43:37 +0000 (15:43 -0500)
commit5fcd8002b94d1a614b30320580ae4cf4314bd773
treeac9728a1856e60447fd3fee17a9e6715bd60938a
parent76f31c04434faff66afdda0356f7499cd11ed7bf
Make parameter assignment args const char* and reduce strcpy

Parameter assignment routines were potentially modifying
the atom type strings passed in, which were being copied
into temporary strings.  Now pass const char* around.

Change-Id: I0a9af22b3310ab881eed4cf844deae452a94411c
src/Molecule.C
src/Parameters.C
src/Parameters.h