diff --git a/vcg/space/index/spatial_hashing.h b/vcg/space/index/spatial_hashing.h index 8b1e7a37..a927bda6 100644 --- a/vcg/space/index/spatial_hashing.h +++ b/vcg/space/index/spatial_hashing.h @@ -48,7 +48,7 @@ namespace vcg{ // hashing function - struct HashFunctor : public unary_function + struct HashFunctor : public std::unary_function { size_t operator()(const Point3i &p) const { @@ -202,7 +202,7 @@ namespace vcg{ ///return the simplexes on a specified cell void Grid( const Point3i & _c, CellIterator & first, CellIterator & end ) { - pair CellRange = hash_table.equal_range(_c); + std::pair CellRange = hash_table.equal_range(_c); first.t=CellRange.first; end.t=CellRange.second; }