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;