]> https://gitweb.dealii.org/ - dealii.git/commit
Move operator== from a test to the CellData class itself.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 13 Sep 2019 15:35:50 +0000 (09:35 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 13 Sep 2019 15:37:42 +0000 (09:37 -0600)
commitedc17cb69b34fa1db239f4b6980ad09678f8bfdb
tree8f706785feaaff106dfbcac0247d9e94b64989a8
parent0a9a1af6d381b78ff50f17433ca2eeb35e287141
Move operator== from a test to the CellData class itself.

This has the advantage that if that class ever gains a new member variable,
it is much easier to update the code for operator== since it's obvious
that one has to update it. If the code remained in the test, we would almost
certainly forget to update it.
include/deal.II/grid/tria.h
source/grid/tria.cc
tests/serialization/cell_data_1.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.