From a0673df75ad35b1480c0d04cc71945b26b7bff54 Mon Sep 17 00:00:00 2001 From: rjawor Date: Sat, 22 Apr 2017 23:47:48 +0200 Subject: [PATCH] cpplint corrections --- concordia/index_searcher.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/concordia/index_searcher.cpp b/concordia/index_searcher.cpp index b23f3f6..e5f6310 100644 --- a/concordia/index_searcher.cpp +++ b/concordia/index_searcher.cpp @@ -22,7 +22,7 @@ MatchedPatternFragment IndexSearcher::simpleSearch( bool byWhitespace) throw(ConcordiaException) { int left; std::vector 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 IndexSearcher::concordiaSearch( boost::shared_ptr > SA, const std::string & pattern, bool byWhitespace) throw(ConcordiaException) { - TokenizedSentence hashedPattern = hashGenerator->generateHash(pattern, byWhitespace); + TokenizedSentence hashedPattern = + hashGenerator->generateHash(pattern, byWhitespace); boost::shared_ptr result = boost::shared_ptr( new ConcordiaSearchResult(hashedPattern));