Remove more scoped_ptr uses
commit59f37924f3fe61eba5ffaabb6d1331b2567f3ee6
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 1 Nov 2015 06:46:41 +0000 (1 08:46 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sun, 1 Nov 2015 06:46:41 +0000 (1 08:46 +0200)
tree39302c7b964f89c192089ce1997381e9364c90a3
parent757c98c4e8c789af07d187eb2b8da3b90add2c57
Remove more scoped_ptr uses

Either replace with move-constructable/-assignable types, or clarify the
code to only initialize the pointers once.

Make PrivateImplPointer easier to use for cases where it might be null.

Change-Id: I95b5da73af69ece519ab694f9d100039ab512e68
src/gromacs/commandline/cmdlinehelpcontext.cpp
src/gromacs/commandline/cmdlinehelpcontext.h
src/gromacs/commandline/cmdlinehelpmodule.cpp
src/gromacs/commandline/tests/cmdlinemodulemanagertest.cpp
src/gromacs/selection/selectioncollection.cpp
src/gromacs/utility/classhelpers.h
src/gromacs/utility/datafilefinder.cpp
src/gromacs/utility/directoryenumerator.cpp
src/gromacs/utility/gmxregex.cpp