This commit is contained in:
Behdad Esfahbod 2014-05-09 16:09:11 -04:00
parent 41ca1fbebf
commit 4719621f20
1 changed files with 0 additions and 1 deletions

View File

@ -840,7 +840,6 @@ struct GenericArrayOf
template <typename SearchType>
inline int search (const SearchType &x) const
{
/* Hand-coded bsearch here since this is in the hot inner loop. */
unsigned int count = len;
for (unsigned int i = 0; i < count; i++)
if (!this->array[i].cmp (x))