added a const operator to the spatial hashing iterator
This commit is contained in:
parent
d6d380f09b
commit
266ddc1a42
|
@ -109,7 +109,8 @@ namespace vcg{
|
|||
{
|
||||
CellIterator(){}
|
||||
HashIterator t;
|
||||
ObjPtr &operator *(){return t->second;}
|
||||
ObjPtr &operator *(){return (t->second); }
|
||||
ObjPtr operator *() const {return (t->second); }
|
||||
bool operator != (const CellIterator & p) const {return t!=p.t;}
|
||||
void operator ++() {t++;}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue