1
0
Fork 0

Less copying by returning a ref.

This commit is contained in:
Max Neunhoeffer 2014-09-15 13:36:56 +02:00
parent 258cf9ee7d
commit f5eabd49cd
1 changed files with 1 additions and 1 deletions

View File

@ -966,7 +966,7 @@ bool IndexRangeBlock::readIndex () {
// the current incoming item:
AqlItemBlock* cur = _buffer.front();
vector<AqlValue>& data(cur->getData());
vector<TRI_document_collection_t const*> docColls(cur->getDocumentCollections());
vector<TRI_document_collection_t const*>& docColls(cur->getDocumentCollections());
RegisterId nrRegs = cur->getNrRegs();
auto newCondition = new IndexOrCondition();