Minor
This commit is contained in:
parent
41ca1fbebf
commit
4719621f20
|
@ -840,7 +840,6 @@ struct GenericArrayOf
|
||||||
template <typename SearchType>
|
template <typename SearchType>
|
||||||
inline int search (const SearchType &x) const
|
inline int search (const SearchType &x) const
|
||||||
{
|
{
|
||||||
/* Hand-coded bsearch here since this is in the hot inner loop. */
|
|
||||||
unsigned int count = len;
|
unsigned int count = len;
|
||||||
for (unsigned int i = 0; i < count; i++)
|
for (unsigned int i = 0; i < count; i++)
|
||||||
if (!this->array[i].cmp (x))
|
if (!this->array[i].cmp (x))
|
||||||
|
|
Loading…
Reference in New Issue