From c3d60cee50fc6ea26209f835b29dab55876752e4 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Wed, 24 Mar 2021 19:15:27 +0100 Subject: [PATCH] fix const correctness --- src/meshlabplugins/filter_isoparametrization/stat_remeshing.h | 4 ++-- src/vcglib | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meshlabplugins/filter_isoparametrization/stat_remeshing.h b/src/meshlabplugins/filter_isoparametrization/stat_remeshing.h index daa0db6b3..96272c4cf 100644 --- a/src/meshlabplugins/filter_isoparametrization/stat_remeshing.h +++ b/src/meshlabplugins/filter_isoparametrization/stat_remeshing.h @@ -155,8 +155,8 @@ void MaxMinEdge(const MeshType &mesh,typename MeshType::ScalarType &min, for (int i=0;i<3;i++) { - typename MeshType::VertexType* v0=(*Fi).cV0(i); - typename MeshType::VertexType* v1=(*Fi).cV1(i); + const typename MeshType::VertexType* v0=(*Fi).V0(i); + const typename MeshType::VertexType* v1=(*Fi).V1(i); if (v0>v1) { ScalarType dist=(v0->P()-v1->P()).Norm(); diff --git a/src/vcglib b/src/vcglib index d69e3e67c..adb799a0a 160000 --- a/src/vcglib +++ b/src/vcglib @@ -1 +1 @@ -Subproject commit d69e3e67cc14970906a33efdd92894e24abb140e +Subproject commit adb799a0a2f6c51e407752add09eb8beddc18d58