use auto type when assigning from cast or using new

This commit is contained in:
Axel Kohlmeyer
2022-04-10 18:16:36 -04:00
parent 6071376d42
commit 39b316729b
365 changed files with 1195 additions and 1233 deletions

View File

@ -100,7 +100,7 @@ void WriteCoeff::command(int narg, char **arg)
coeff_mode = CLASS2_MODE;
}
const char *section = (const char *) "";
const char * section = (const char *) ""; // NOLINT
fputs(str, two); // style
utils::sfgets(FLERR, str, 256, one, file, error); // coeff
int n = strlen(str);