Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 596222
Collapse All | Expand All

(-)a/src/mongo/db/fts/unicode/string.cpp (-1 / +1 lines)
Lines 274-280 bool String::substrMatch(const std::stri Link Here
274
274
275
    // Case sensitive and diacritic sensitive.
275
    // Case sensitive and diacritic sensitive.
276
    return boost::algorithm::boyer_moore_search(
276
    return boost::algorithm::boyer_moore_search(
277
               haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end();
277
               haystack.begin(), haystack.end(), needle.begin(), needle.end()) != std::make_pair(haystack.end(), haystack.end());
278
}
278
}
279
279
280
}  // namespace unicode
280
}  // namespace unicode

Return to bug 596222