diff --git a/include/geometry/shape_line_chain.h b/include/geometry/shape_line_chain.h index da6dbee215..795d0012e0 100644 --- a/include/geometry/shape_line_chain.h +++ b/include/geometry/shape_line_chain.h @@ -132,7 +132,7 @@ public: { m_points.reserve( aPath.size() ); - for( auto point : aPath ) + for( const auto& point : aPath ) m_points.emplace_back( point.X, point.Y ); }