From add25e7bf09a9f44c80c36da3fd7b301d147a1d7 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 27 Feb 2012 07:06:26 +0000 Subject: [PATCH] added a missing std:: --- vcg/complex/algorithms/refine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/refine.h b/vcg/complex/algorithms/refine.h index 6365f2ba..a3772ade 100644 --- a/vcg/complex/algorithms/refine.h +++ b/vcg/complex/algorithms/refine.h @@ -792,7 +792,7 @@ class QualityEdgePredicate { ScalarType q0=ep.f->V0(ep.z)->Q()-thr; ScalarType q1=ep.f->V1(ep.z)->Q()-thr; - if(q0>q1) swap(q0,q1); + if(q0>q1) std::swap(q0,q1); if ( q0*q1 > 0) return false; // now a small check to be sure that we do not make too thin crossing. double pp= q0/(q0-q1);