diff --git a/src/mesh/parallel/fci.cxx b/src/mesh/parallel/fci.cxx index 6b68a6635c..92531bfdfa 100644 --- a/src/mesh/parallel/fci.cxx +++ b/src/mesh/parallel/fci.cxx @@ -347,7 +347,7 @@ FCITransform::FCITransform(Mesh& mesh, const Coordinates::FieldMetric& dy, bool if (bndry->dir() == bndry2->dir()) { continue; } - for (auto point : *bndry) { + for (auto& point : *bndry) { for (auto point2 : *bndry2) { if (point.ind() == point2.ind()) { // This point has a boundary in both directions. Calculate the