Use make_unique instead of reset when private implementations are constructed
authorArtem Zhmurov <zhmurov@gmail.com>
Tue, 2 Feb 2021 05:06:55 +0000 (08:06 +0300)
committerAndrey Alekseenko <al42and@gmail.com>
Tue, 2 Feb 2021 10:14:28 +0000 (10:14 +0000)
commit28ebf5febf9f37102f371925f843dadb391791c4
treefc5e3855e98b4e73ea4f9fe606628f80c476ef56
parent69ca04606dab6e3c249828b54ce1b800dabd0d83
Use make_unique instead of reset when private implementations are constructed

Using std::unique_ptr instead of our own implementation in PImpl classes made
compiler more aware of the code and clang-tidy started to complain about
using reset function(...) for PImpl construction.
src/gromacs/commandline/tests/cmdlinemodulemanagertest.cpp
src/gromacs/selection/symrec.cpp