]> https://gitweb.dealii.org/ - dealii.git/commit
Use a std_cxx11::unique_ptr in FEValues.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 8 Aug 2015 02:58:21 +0000 (21:58 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 8 Aug 2015 19:31:17 +0000 (14:31 -0500)
commit3e0e0361cb4713eccaa8ad83642f56335663db42
tree1e4d0fec3f6112dea736011c259b55b30764d136
parent22602b9a046850a7de9224f58638abfdbf836e76
Use a std_cxx11::unique_ptr in FEValues.

Specifically, use it for the internal data objects of mapping and
finite element. These pointers are internally created and used in the
FEValues class. They are not shared by any external interface. Using
a unique_ptr ensures no memory leaks.
include/deal.II/fe/fe_values.h
source/fe/fe_values.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.