use clang-tidy and clang-format to update/modernize/simplify code

This commit is contained in:
Axel Kohlmeyer
2022-05-31 14:46:57 -04:00
parent 7c0c7ce93c
commit 234b9f180a
19 changed files with 146 additions and 132 deletions

View File

@ -39,8 +39,8 @@ public:
END_HIDE_OUTPUT();
}
void generate_dump(std::string dump_file, std::string dump_options,
std::string dump_modify_options, int ntimesteps)
void generate_dump(const std::string &dump_file, const std::string &dump_options,
const std::string &dump_modify_options, int ntimesteps)
{
BEGIN_HIDE_OUTPUT();
command(fmt::format("dump id all {} 1 {} {}", dump_style, dump_file, dump_options));