From 81a4cd47658c7f10b2fdf016bc67f83f5770fd3f Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 6 Jul 2012 05:38:05 +0000 Subject: [PATCH] Corrected two wrong (unused) return types in stat collecting functions for trimesh --- vcg/complex/algorithms/stat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/stat.h b/vcg/complex/algorithms/stat.h index b328f352..831bcb8d 100644 --- a/vcg/complex/algorithms/stat.h +++ b/vcg/complex/algorithms/stat.h @@ -69,7 +69,7 @@ class Stat typedef typename MeshType::FaceContainer FaceContainer; typedef typename vcg::Box3 Box3Type; - static std::pair ComputePerVertexQualityMinMax( MeshType & m, float &minV, float &maxV) + static void ComputePerVertexQualityMinMax( MeshType & m, float &minV, float &maxV) { std::pair pp=ComputePerVertexQualityMinMax(m); minV=pp.first; maxV=pp.second; @@ -88,7 +88,7 @@ class Stat return minmax; } - static std::pair ComputePerFaceQualityMinMax( MeshType & m, float &minV, float &maxV) + static void ComputePerFaceQualityMinMax( MeshType & m, float &minV, float &maxV) { std::pair pp=ComputePerFaceQualityMinMax(m); minV=pp.first; maxV=pp.second;