[Dune] [#1004] Make VTKFunctionPtr a const-pointer
Dune
flyspray at dune-project.org
Wed Dec 21 21:06:25 CET 2011
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#1004 - Make VTKFunctionPtr a const-pointer
User who did this - Jö Fahlke (joe)
----------
Because everything addVertexData does is appending a copy of p to an internal list of VTKFunctions:
void addVertexData (const VTKFunctionPtr & p)
{
vertexdata.push_back(p);
}
There really isn't anything going on that could expose problems like the one discussed on stackoverflow. On the other hand I have to agree that this call usually happens on a very high level, so any perfomance penaly really shouldn't be noticable.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1004#comment2988
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list