From 84a6e15c8475d785738867e001ee13085005f55b Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 20 Apr 2010 00:34:21 +0000 Subject: [PATCH] added missing std:: qualifier --- vcg/complex/trimesh/update/color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/update/color.h b/vcg/complex/trimesh/update/color.h index f2f34cfe..2b7a7046 100644 --- a/vcg/complex/trimesh/update/color.h +++ b/vcg/complex/trimesh/update/color.h @@ -346,8 +346,8 @@ static void FaceQualityRamp(UpdateMeshType &m,bool selected=false) for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) if(!selected || (*fi).IsS()) { - minq=min(minq,(*fi).Q()); - maxq=max(maxq,(*fi).Q()); + minq=std::min(minq,(*fi).Q()); + maxq=std::max(maxq,(*fi).Q()); } FaceQualityRamp(m,minq,maxq,selected);