Use unique_ptr for tables
authorJoe Jordan <ejjordan12@gmail.com>
Thu, 11 Feb 2021 18:21:13 +0000 (18:21 +0000)
committerArtem Zhmurov <zhmurov@gmail.com>
Thu, 11 Feb 2021 18:21:13 +0000 (18:21 +0000)
commit35bd40df6a52381abe4992d0e7f1c078207e46b9
treeb3cfedc225a7e91936e981e4ef462696dd9e3fed
parentd543e203a498942478bc60c6c420617e12e2003d
Use unique_ptr for tables

Instead of returning a raw pointer, make_tables now returns a unique_ptr.
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdlib/wall.cpp
src/gromacs/mdtypes/forcerec.h
src/gromacs/mdtypes/nblist.h
src/gromacs/tables/forcetable.cpp
src/gromacs/tables/forcetable.h