]> https://gitweb.dealii.org/ - dealii.git/commit
Let DataOut::build_one_patch use a member variable. 3445/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 3 Nov 2016 22:34:08 +0000 (16:34 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 3 Nov 2016 22:34:08 +0000 (16:34 -0600)
commitfc37862c28e702072a7580506cc6855076c93716
treee4346a88526dbcd5801b4f19a867de593340268f
parenta1e66d482b1ab31fce98ce5599c4d9a14197ac38
Let DataOut::build_one_patch use a member variable.

Currently, it takes a reference to a variable as argument, but this variable
is a member variable of the class to which it has access. That's duplicative.
To make things even more confusing, the local variable and the member
are named the same.

Fix this by just not taking the reference as argument, and directly
accessing the member of the class.
include/deal.II/numerics/data_out.h
source/numerics/data_out.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.