git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7379 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-12-16 21:15:49 +00:00
parent 70316a8f77
commit 4f48544d41
61 changed files with 108 additions and 104 deletions

View File

@ -839,7 +839,7 @@ void Modify::modify_compute(int narg, char **arg)
delete a Compute from list of Computes
------------------------------------------------------------------------- */
void Modify::delete_compute(char *id)
void Modify::delete_compute(const char *id)
{
int icompute = find_compute(id);
if (icompute < 0) error->all(FLERR,"Could not find compute ID to delete");
@ -856,7 +856,7 @@ void Modify::delete_compute(char *id)
return index of compute or -1 if not found
------------------------------------------------------------------------- */
int Modify::find_compute(char *id)
int Modify::find_compute(const char *id)
{
int icompute;
for (icompute = 0; icompute < ncompute; icompute++)