if(!max_depth || depth<max_depth-1)
{
- const list<Target *> &depends=tgt.get_depends();
+ const TargetList &depends=tgt.get_depends();
//depends.sort(target_order);
- for(list<Target *>::const_iterator i=depends.begin(); i!=depends.end(); ++i)
+ for(TargetList::const_iterator i=depends.begin(); i!=depends.end(); ++i)
build_depend_table(**i, depth+1);
}
}