From 8069105de3fc9da8f2decf70187c324bb22c503e Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 11 May 2019 23:19:24 -0500 Subject: [PATCH] contrib: favor auto & cell --- contrib/python-bindings/source/triangulation_wrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); -- 2.39.5