]> https://gitweb.dealii.org/ - dealii.git/commit
Remove an unnecessary copy constructor.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 12 Nov 2016 03:08:32 +0000 (22:08 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 12 Nov 2016 03:08:32 +0000 (22:08 -0500)
commitf4bfe08af8354b92a0f09617227dbf146b2e05aa
tree32c756bb8d379726bb4124321136e9799f5595f3
parentaa71b0e41a33f839d5c2a46f9258b75cd742e5b2
Remove an unnecessary copy constructor.

PVS studio rightfully complains that we should define operator= whenever
we explicitly define a copy constructor. However, since our copy
constructor does nothing special it is in fact equivalent to the default
copy constructor, so we can just get get rid of it and let the compiler
generate the correct copying code.
include/deal.II/lac/petsc_matrix_base.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.