]> https://gitweb.dealii.org/ - dealii.git/commit
Do not use a plain pointer in PolynomialsABF.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 9 Jan 2017 15:52:15 +0000 (08:52 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 11 Jan 2017 02:04:57 +0000 (19:04 -0700)
commitec43010240f66c7c7c6d96288801f8ca3a1c9f7c
tree4416d1e62dd33b08a4cc1410e080cc06a5a42992
parent3f1cfa1040974ce02314df914985320306ee8065
Do not use a plain pointer in PolynomialsABF.

These objects are being copied by the FE_Poly* classes, so plain pointers without
dedicated copy constructors and operators are likely going to lead to memory
corruption. It's not clear to me how this ever worked, but it's easy to fix.
include/deal.II/base/polynomials_abf.h
source/base/polynomials_abf.cc

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.