Added typename

This commit is contained in:
Federico Ponchio 2006-02-28 16:51:29 +00:00
parent 31b0b8aa0d
commit 6faf120b1f
1 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.34 2006/02/01 15:27:00 cignoni
Added IsD() test in SelfIntersection
Revision 1.33 2006/01/27 09:55:25 corsini Revision 1.33 2006/01/27 09:55:25 corsini
fix signed/unsigned mismatch fix signed/unsigned mismatch
@ -805,7 +808,7 @@ namespace vcg {
(*fi).GetBBox(bbox); (*fi).GetBBox(bbox);
vcg::trimesh::GetInBoxFace(m, gM, bbox,inBox); vcg::trimesh::GetInBoxFace(m, gM, bbox,inBox);
bool Intersected=false; bool Intersected=false;
std::vector<FaceType*>::iterator fib; typename std::vector<FaceType*>::iterator fib;
for(fib=inBox.begin();fib!=inBox.end();++fib) for(fib=inBox.begin();fib!=inBox.end();++fib)
{ {
if(!(*fib)->IsUserBit(referredBit) && (*fib != &*fi) ) if(!(*fib)->IsUserBit(referredBit) && (*fib != &*fi) )