mirror of https://gitee.com/bigwinds/arangodb
Small improvement in lookup.
This commit is contained in:
parent
59e314d2bd
commit
43c0e8f166
|
@ -438,7 +438,7 @@ void* TRI_LookupByElementMultiPointer (TRI_multi_pointer_t* array,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
i = LookupByElement(array, element);
|
i = LookupByElement(array, element);
|
||||||
return (NULL != array->_table[i].ptr) ? array->_table[i].ptr : NULL;
|
return array->_table[i].ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue