use explicit scoping in destructor
This commit is contained in:
@ -94,8 +94,8 @@ FixACKS2ReaxFF::~FixACKS2ReaxFF()
|
||||
memory->destroy(s_hist_X);
|
||||
memory->destroy(s_hist_last);
|
||||
|
||||
deallocate_storage();
|
||||
deallocate_matrix();
|
||||
FixACKS2ReaxFF::deallocate_storage();
|
||||
FixACKS2ReaxFF::deallocate_matrix();
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -163,7 +163,7 @@ FixQEqReaxFF::~FixQEqReaxFF()
|
||||
memory->destroy(t_hist);
|
||||
|
||||
FixQEqReaxFF::deallocate_storage();
|
||||
deallocate_matrix();
|
||||
FixQEqReaxFF::deallocate_matrix();
|
||||
|
||||
memory->destroy(shld);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user