diff --git a/vcg/complex/trimesh/hole.h b/vcg/complex/trimesh/hole.h index d4542f52..0b8b34ac 100644 --- a/vcg/complex/trimesh/hole.h +++ b/vcg/complex/trimesh/hole.h @@ -201,7 +201,7 @@ namespace vcg { assert(e0.IsBorder()); e1=e0; e1.NextB(); - n=Normal(*this); + n=vcg::Normal(*this); ComputeQuality(); ComputeAngle(); } diff --git a/vcg/space/index/spatial_hashing.h b/vcg/space/index/spatial_hashing.h index 63785570..0e906e07 100644 --- a/vcg/space/index/spatial_hashing.h +++ b/vcg/space/index/spatial_hashing.h @@ -218,7 +218,7 @@ protected: } } } - for(std::vector::iterator vi=toDel.begin(); vi!=toDel.end();++vi) + for(typename std::vector::iterator vi=toDel.begin(); vi!=toDel.end();++vi) hash_table.erase(*vi); return cnt;