aMule Forum

English => en_Bugs => Topic started by: thermoman on July 13, 2004, 04:33:34 AM

Title: [SearchList.cpp] vector >::at
Post by: thermoman on July 13, 2004, 04:33:34 AM
Code: [Select]
SearchList.cpp: In method `CSearchFile::CSearchFile(CSearchFile *)':
SearchList.cpp:91: no matching function for call to `vector >::at (unsigned int &)'

Could this be made gcc 2.xx compatible? seems gcc 2.xx has no 'at' implemention.

thermoman
Title: Re: [SearchList.cpp] vector >::at
Post by: Avi on July 13, 2004, 10:10:14 AM
You should be able to take the vector's name and use the [] operator (altough I think that it doesn't signel an out-of-range requests like at() does).
Title: Re: [SearchList.cpp] vector >::at
Post by: thermoman on July 13, 2004, 11:18:12 PM
Thanks - worked. But quick'n'dirty.

thermoman