diff options
Diffstat (limited to 'src/python/include/Alpha_complex_factory.h')
-rw-r--r-- | src/python/include/Alpha_complex_factory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/include/Alpha_complex_factory.h b/src/python/include/Alpha_complex_factory.h index 7d45af7c..fbbf8896 100644 --- a/src/python/include/Alpha_complex_factory.h +++ b/src/python/include/Alpha_complex_factory.h @@ -53,7 +53,7 @@ template<typename CgalPointType> struct Point_cgal_to_cython<CgalPointType, true> { std::vector<double> operator()(CgalPointType const& weighted_point) const { - auto point = weighted_point.point(); + const auto& point = weighted_point.point(); std::vector<double> vd; vd.reserve(point.dimension()); for (auto coord = point.cartesian_begin(); coord != point.cartesian_end(); coord++) |