[Box Backup-dev] COMMIT r445 - box/chris/win32/vc2005-compile-fixes/bin/bbackupquery

Chris Wilson boxbackup-dev@fluffy.co.uk
Mon, 13 Feb 2006 09:25:41 +0000 (GMT)


Hi Martin,

>> -		for(std::set<std::string>::iterator i = 
>>   localFiles.begin(); i != localFiles.end(); ++i)
>> +		for(string_set_iter_t i = localFiles.begin(); i != 
>>   localFiles.end(); ++i)
>
> I've no idea why you're changing the type of this one when it isn't even
> used for calling erase(). Only the two iterators called 'local' appear
> to be affected.

Well spotted, that would be a bug :-) (although it compiles fine, since 
localFiles is not modified).

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |