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

Comparing GoogleTron/GoogleTron.cpp (file contents):
Revision 688 by douglas, 2006-03-07T02:05:22-08:00 vs.
Revision 695 by douglas, 2006-03-09T23:42:52-08:00

# Line 90 | Line 90 | int GoogleTron::Output()
90                  Sleep();
91  
92                  _synchronized (queueLock)
93 <                        if (queue.size())
93 >                        if (queue.GetSize())
94                          {
95                                  xml::ScopeElement url_(writer, _B("url"));
96 <                                const Url &url(queue.front());
96 >                                const Url &url(queue.Front());
97  
98                                  {
99                                          xml::ScopeElement loc(writer, _B("loc"));
# Line 119 | Line 119 | int GoogleTron::Output()
119                                          writer.OutputText(url.GetPriority());
120                                  }
121  
122 <                                queue.pop();
122 >                                queue.Pop();
123                          }
124          }
125          while (working);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines