Browse Source

Fix yet another dependent base C++ language issue.

master
Richard Kreckel 14 years ago
parent
commit
93c3e3c856
  1. 4
      src/base/hash/cl_hashset.h

4
src/base/hash/cl_hashset.h

@ -104,7 +104,7 @@ private:
if (this->_freelist < -1)
return;
// Can we make room?
if (_garcol_fun(this))
if (this->_garcol_fun(this))
if (this->_freelist < -1)
return;
// No! Have to grow the hash table.
@ -112,7 +112,7 @@ private:
#else
// workaround Sun C++ 4.1 inline function compiler bug
if (this->_freelist >= -1) {
if (!_garcol_fun(this) || (this->_freelist >= -1))
if (!this->_garcol_fun(this) || (this->_freelist >= -1))
grow();
}
#endif

Loading…
Cancel
Save