diff --git a/src/REPLICA/fix_event_prd.cpp b/src/REPLICA/fix_event_prd.cpp index af93c49b9b..ad606d9ab0 100644 --- a/src/REPLICA/fix_event_prd.cpp +++ b/src/REPLICA/fix_event_prd.cpp @@ -43,12 +43,6 @@ FixEventPRD::FixEventPRD(LAMMPS *lmp, int narg, char **arg) : clock = 0; } -/* ---------------------------------------------------------------------- */ - -FixEventPRD::~FixEventPRD() -{ -} - /* ---------------------------------------------------------------------- save current atom coords as an event (via call to base class) called when an event occurs in some replica diff --git a/src/REPLICA/fix_event_prd.h b/src/REPLICA/fix_event_prd.h index 2c3a339bf6..fa97ead781 100644 --- a/src/REPLICA/fix_event_prd.h +++ b/src/REPLICA/fix_event_prd.h @@ -34,7 +34,7 @@ class FixEventPRD : public FixEvent { int ncoincident; // # of simultaneous events on different replicas FixEventPRD(class LAMMPS *, int, char **); - ~FixEventPRD(); + ~FixEventPRD() {} void write_restart(FILE *); void restart(char *); diff --git a/src/REPLICA/fix_event_tad.cpp b/src/REPLICA/fix_event_tad.cpp index adc95c0cb2..5f0dcd069e 100644 --- a/src/REPLICA/fix_event_tad.cpp +++ b/src/REPLICA/fix_event_tad.cpp @@ -44,12 +44,6 @@ FixEventTAD::FixEventTAD(LAMMPS *lmp, int narg, char **arg) : ebarrier = 0.0; } -/* ---------------------------------------------------------------------- */ - -FixEventTAD::~FixEventTAD() -{ -} - /* ---------------------------------------------------------------------- save current atom coords as an event (via call to base class) called when an event occurs in some replica diff --git a/src/REPLICA/fix_event_tad.h b/src/REPLICA/fix_event_tad.h index 3939290ae1..5bf937e221 100644 --- a/src/REPLICA/fix_event_tad.h +++ b/src/REPLICA/fix_event_tad.h @@ -32,7 +32,7 @@ class FixEventTAD : public FixEvent { double ebarrier; // energy barrier for this event FixEventTAD(class LAMMPS *, int, char **); - ~FixEventTAD(); + ~FixEventTAD() {} void write_restart(FILE *); void restart(char *);