ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/SiteMapperOld/Page.cpp
(Generate patch)

Comparing SiteMapper/Page.cpp (file contents):
Revision 140 by Douglas Thrift, 2004-03-25T18:04:04-08:00 vs.
Revision 141 by Douglas Thrift, 2004-03-25T19:21:58-08:00

# Line 126 | Line 126 | ostream& operator<<(ostream& output, Pag
126          {
127                  output << tab << "\t<list>\n";
128  
129 <                for (list<Page>::iterator itor = page.children.begin(); itor !=
130 <                        page.children.end(); itor++)
129 >                for (unsigned index = 0; index < page.children.size(); index++)
130                  {
131 <                        output << (*itor)(page.tab + 1) << '\n';
131 >                        output << page.children[index](page.tab + 1) << '\n';
132                  }
133  
134                  output << tab << "\t</list>\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines