From cb22994ef50c83ad049f095ccf6c339d42efc783 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Mon, 3 Nov 2008 16:21:52 +0000 Subject: [PATCH] Restored TMARKER as a copied, not referenced, class --- vcg/space/index/space_iterators.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/space/index/space_iterators.h b/vcg/space/index/space_iterators.h index 806a5d31..dd169c91 100644 --- a/vcg/space/index/space_iterators.h +++ b/vcg/space/index/space_iterators.h @@ -194,7 +194,7 @@ namespace vcg{ max_dist=_max_dist; }; - void SetMarker(TMARKER & _tm) + void SetMarker(TMARKER _tm) { tm=_tm; } @@ -315,7 +315,7 @@ namespace vcg{ Spatial_Idexing &Si; //reference to spatial index algorithm bool end; //true if the scan is terminated INTFUNCTOR &int_funct; - TMARKER& tm; + TMARKER tm; std::vector Elems; //element loaded from curren cell typedef typename std::vector::reverse_iterator ElemIterator;