- Timestamp:
- 08/26/10 21:27:02 (21 months ago)
- Children:
- 654bb6066f0a41076097ffd2498c04805e4d7276
- Parents:
- 1a490d9fa05ba426833f949deac03729e3e6a8dc
- git-committer:
- Antti-Juhani Kaijanaho <antti-juhani@…> (08/26/10 21:27:02)
- Files:
-
- 1 modified
-
tlate/thread_value.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tlate/thread_value.cc
r43f5212 r62c7c77 31 31 32 32 tnl.push_back(tn); 33 for ( tl::const_iterator it = tnl.begin(); it != tnl.end(); it++)33 for (size_t i = 0; i < tnl.size(); i++) 34 34 { 35 const tlnc &itch = (*it)->get_children();35 const tlnc &itch = tnl[i]->get_children(); 36 36 for (tlnc::const_iterator jt = itch.begin(); 37 37 jt != itch.end(); jt++) … … 51 51 } 52 52 if (start > 0) tnl.erase(tnl.begin(), tnl.begin()+start); 53 if (length >tnl.size())53 if (length < tnl.size()) 54 54 tnl.erase(tnl.begin()+length, tnl.end()); 55 55 }
