take advantage of having the common Command base class to unify code paths

This commit is contained in:
Axel Kohlmeyer
2021-04-14 07:05:00 -04:00
parent 81578d9934
commit 75579fc100
47 changed files with 83 additions and 91 deletions

View File

@ -24,7 +24,7 @@ CommandStyle(write_restart,WriteRestart)
namespace LAMMPS_NS {
class WriteRestart : protected Command {
class WriteRestart : public Command {
public:
WriteRestart(class LAMMPS *);
void command(int, char **);