cpplint corrections
This commit is contained in:
parent
970dda5dc2
commit
a0673df75a
@ -22,7 +22,7 @@ MatchedPatternFragment IndexSearcher::simpleSearch(
|
||||
bool byWhitespace) throw(ConcordiaException) {
|
||||
int left;
|
||||
std::vector<INDEX_CHARACTER_TYPE> hash =
|
||||
hashGenerator->generateHash(pattern, byWhitespace).getCodes();
|
||||
hashGenerator->generateHash(pattern, byWhitespace).getCodes();
|
||||
saidx_t patternLength = hash.size()*sizeof(INDEX_CHARACTER_TYPE);
|
||||
sauchar_t * patternArray = Utils::indexVectorToSaucharArray(hash);
|
||||
|
||||
@ -113,7 +113,8 @@ boost::shared_ptr<ConcordiaSearchResult> IndexSearcher::concordiaSearch(
|
||||
boost::shared_ptr<std::vector<saidx_t> > SA,
|
||||
const std::string & pattern,
|
||||
bool byWhitespace) throw(ConcordiaException) {
|
||||
TokenizedSentence hashedPattern = hashGenerator->generateHash(pattern, byWhitespace);
|
||||
TokenizedSentence hashedPattern =
|
||||
hashGenerator->generateHash(pattern, byWhitespace);
|
||||
boost::shared_ptr<ConcordiaSearchResult> result =
|
||||
boost::shared_ptr<ConcordiaSearchResult>(
|
||||
new ConcordiaSearchResult(hashedPattern));
|
||||
|
Loading…
Reference in New Issue
Block a user