From 42709146e6c0374e4c4a206a077ee6758448c1fa Mon Sep 17 00:00:00 2001
From: cnr-isti-vclab <paolo.cignoni@isti.cnr.it>
Date: Thu, 20 Nov 2008 13:26:26 +0000
Subject: [PATCH] Addedd missing std namespace befor make_pair

---
 vcg/complex/trimesh/point_sampling.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vcg/complex/trimesh/point_sampling.h b/vcg/complex/trimesh/point_sampling.h
index 3273200e..432a0f32 100644
--- a/vcg/complex/trimesh/point_sampling.h
+++ b/vcg/complex/trimesh/point_sampling.h
@@ -314,7 +314,7 @@ static void Montecarlo(MetroMesh & m, VertexSampler &ps,int sampleNum)
 			ScalarType val = meshArea * (double)rand() / (double)RAND_MAX;
 			// lower_bound returns the furthermost iterator i in [first, last) such that, for every iterator j in [first, i), *j < value.
 			// E.g. An iterator pointing to the first element "not less than" val, or end() if every element is less than val.
-			typename std::vector<IntervalType>::iterator it = lower_bound(intervals.begin(),intervals.end(),make_pair(val,FacePointer(0)) );
+			typename std::vector<IntervalType>::iterator it = lower_bound(intervals.begin(),intervals.end(),std::make_pair(val,FacePointer(0)) );
 			assert(it != intervals.end());
 			assert(it != intervals.begin());
 			assert( (*(it-1)).first <val );