Code Cleanup

- Further attemps at removing 'foreach'.
This commit is contained in:
Paul Beckingham 2011-04-23 23:06:00 -04:00
parent 10e3f306dd
commit 5f8b3cf989
4 changed files with 38 additions and 26 deletions

View file

@ -189,7 +189,8 @@ int autoComplete (
unsigned int length = partial.length ();
if (length)
{
foreach (item, list)
std::vector <std::string>::const_iterator item;
for (item = list.begin (); item != list.end (); ++item)
{
// An exact match is a special case. Assume there is only one exact match
// and return immediately.