summaryrefslogtreecommitdiff
path: root/src/python/include/Alpha_complex_factory.h
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-09 09:57:26 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-09 09:57:26 +0200
commit2f507728035c76f16c732b911c52a9118a9b52dd (patch)
treeb3d8c848e024716e05b515c90333995ba44d143e /src/python/include/Alpha_complex_factory.h
parent05aff3cba18e1e14549747f3b0673edd6d704d47 (diff)
code review: constify auto
Diffstat (limited to 'src/python/include/Alpha_complex_factory.h')
-rw-r--r--src/python/include/Alpha_complex_factory.h2
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++)