Replace boost::shared_ptr with std::shared_ptr
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 23 Oct 2015 14:00:16 +0000 (16:00 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 2 Nov 2015 07:28:25 +0000 (08:28 +0100)
commit56f64b09a0efde4d809abcdd4d3f84a85e989d26
tree683cb99b30fe683aea4c105054b9896318bbbb56
parentdd8ee44616308cbd3e3a0008844d839bbef2e5a5
Replace boost::shared_ptr with std::shared_ptr

Now that we can use them, C++11 smart pointers are probably less hassle.

Since boost::exception hard-codes the use of boost::shared_ptr, we can't
remove boost:shared_ptr yet.

Added a missing include for std::max

Change-Id: Iafe8dee8e7f5f952c2680979607428f02aedf98d
30 files changed:
src/gromacs/analysisdata/abstractdata.cpp
src/gromacs/analysisdata/abstractdata.h
src/gromacs/analysisdata/modules/average.h
src/gromacs/analysisdata/modules/displacement.h
src/gromacs/analysisdata/modules/histogram.cpp
src/gromacs/analysisdata/modules/histogram.h
src/gromacs/analysisdata/modules/lifetime.cpp
src/gromacs/analysisdata/modules/lifetime.h
src/gromacs/analysisdata/modules/plot.h
src/gromacs/analysisdata/tests/mock_datamodule.h
src/gromacs/commandline/cmdlineoptionsmodule.cpp
src/gromacs/commandline/cmdlineoptionsmodule.h
src/gromacs/commandline/pargs.cpp
src/gromacs/onlinehelp/helpwritercontext.cpp
src/gromacs/options/behaviorcollection.h
src/gromacs/selection/nbsearch.h
src/gromacs/selection/parsetree.cpp
src/gromacs/selection/selectioncollection.cpp
src/gromacs/selection/selelem.h
src/gromacs/selection/sm_keywords.cpp
src/gromacs/trajectoryanalysis/cmdlinerunner.cpp
src/gromacs/trajectoryanalysis/modules/select.cpp
src/gromacs/utility/exceptions.cpp
src/gromacs/utility/nodelete.h
src/gromacs/utility/textreader.h
src/gromacs/utility/textstream.h
src/gromacs/utility/textwriter.h
src/testutils/refdata.cpp
src/testutils/refdata.h
src/testutils/testfileredirector.cpp