From fdf4e402f3ee140880ed80373fd71f98b8abe9db Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 13 Jan 2009 06:33:53 +0000 Subject: [PATCH] forgot a couple of std:: --- vcg/space/index/spatial_hashing.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }