mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Totally misc.
This commit is contained in:
parent
6418990840
commit
14b9cbab5a
@ -153,7 +153,8 @@ public:
|
||||
bool find(const Key& item, size_t& pos) const
|
||||
{
|
||||
size_t highBound = this->count, lowBound = 0;
|
||||
while (highBound > lowBound) {
|
||||
while (highBound > lowBound)
|
||||
{
|
||||
const size_t temp = (highBound + lowBound) >> 1;
|
||||
if (Cmp::greaterThan(item, KeyOfValue::generate(this, this->data[temp])))
|
||||
lowBound = temp + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user