Remove idioms deprecated in C++11
commit9ef679ceeeae231b913e26fada7ba73ee35e3f48
authorRoland Schulz <roland@utk.edu>
Thu, 8 Oct 2015 21:03:52 +0000 (8 17:03 -0400)
committerTeemu Murtola <teemu.murtola@gmail.com>
Fri, 15 Apr 2016 15:03:48 +0000 (15 17:03 +0200)
treea5fb721e05528e778287da4f0fc4ec975ae3bb8a
parent4cd9198e5505190328276f96c2887f38edc2cfe9
Remove idioms deprecated in C++11

- use noexcept instead of throw()
- don't rely on default copy/assign if either one or the destructor is
  explicitly defined

Enforced with clang -Wdeprecated

Change-Id: I4d2f32d6c3e880092fb27d81834c458f788a9e3f
12 files changed:
cmake/gmxCFlags.cmake
src/gromacs/onlinehelp/helpwritercontext.cpp
src/gromacs/options/ioptionscontainer.h
src/gromacs/random/exponentialdistribution.h
src/gromacs/random/gammadistribution.h
src/gromacs/random/normaldistribution.h
src/gromacs/random/uniformintdistribution.h
src/gromacs/random/uniformrealdistribution.h
src/gromacs/selection/nbsearch.cpp
src/gromacs/utility/classhelpers.h
src/gromacs/utility/exceptions.cpp
src/gromacs/utility/exceptions.h