From: Matthias Maier Date: Sun, 12 May 2019 04:19:24 +0000 (-0500) Subject: contrib: favor auto & cell X-Git-Tag: v9.1.0-rc1~43^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8069105de3fc9da8f2decf70187c324bb22c503e;p=dealii.git contrib: favor auto & cell --- diff --git a/contrib/python-bindings/source/triangulation_wrapper.cc b/contrib/python-bindings/source/triangulation_wrapper.cc index a8bb5cc54d..9a96bdab1d 100644 --- a/contrib/python-bindings/source/triangulation_wrapper.cc +++ b/contrib/python-bindings/source/triangulation_wrapper.cc @@ -412,7 +412,7 @@ namespace python static_cast*>( triangulation_wrapper.get_triangulation()); boost::python::list cells; - for (auto cell : tria->active_cell_iterators()) + for (auto & cell : tria->active_cell_iterators()) cells.append(CellAccessorWrapper(triangulation_wrapper, cell->level(), cell->index()));