]> https://gitweb.dealii.org/ - dealii.git/commit
Make VectorBase::operator= private and undefined. 3966/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 11 Feb 2017 22:35:14 +0000 (17:35 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 11 Feb 2017 23:15:41 +0000 (18:15 -0500)
commit58b09face87ce04ac5bbda88888690693288fc5a
tree584cd54c4c38fe8cbf4f83809e64793c322469ea
parente2482a0855e2e5b0d3a1a0ea3b64b7bb05e75dc6
Make VectorBase::operator= private and undefined.

This operator was formerly implicitly defined, which provides, almost surely,
the wrong behavior since the underlying Vec will then be destroyed twice.

Since both inheriting classes (Vector and MPI::Vector) define their own
operator= overloads this operator is also not necessary.
doc/news/changes/incompatibilities/20170211DavidWells [new file with mode: 0644]
include/deal.II/lac/petsc_vector_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.