use explicit scoping in destructor

This commit is contained in:
Axel Kohlmeyer
2022-06-13 22:10:43 -04:00
parent b44d769024
commit 423c511d7a
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}
/* ---------------------------------------------------------------------- */

View File

@ -163,7 +163,7 @@ FixQEqReaxFF::~FixQEqReaxFF()
memory->destroy(t_hist);
FixQEqReaxFF::deallocate_storage();
deallocate_matrix();
FixQEqReaxFF::deallocate_matrix();
memory->destroy(shld);