1
0
Fork 0

Fixed array index insertion.

This commit is contained in:
Michael Hackstein 2016-03-23 17:31:11 +01:00
parent fb5bcfcf82
commit bf6a4fedd9
1 changed files with 3 additions and 3 deletions

View File

@ -308,7 +308,7 @@ void PathBasedIndex::buildIndexValues(
auto moveOn = [&](VPackSlice something) -> void { auto moveOn = [&](VPackSlice something) -> void {
auto it = seen.find(something); auto it = seen.find(something);
if (it != seen.end()) { if (it == seen.end()) {
seen.insert(something); seen.insert(something);
sliceStack.push_back(something); sliceStack.push_back(something);
buildIndexValues(document, level + 1, toInsert, sliceStack); buildIndexValues(document, level + 1, toInsert, sliceStack);