diff options
author | Yuri Gorshenin <y@maps.me> | 2016-06-07 18:04:07 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-06-15 17:43:46 +0300 |
commit | 83a097a846e1debe6fc80cc02aed415a743ebbdd (patch) | |
tree | c333a26c8a1fa09038e3e9c9f38cf1f96da3499f /indexer/postcodes_matcher.cpp | |
parent | 9201925db05acf6b490c217752fb111810b351ea (diff) |
[search] House number parser revisited.
Diffstat (limited to 'indexer/postcodes_matcher.cpp')
-rw-r--r-- | indexer/postcodes_matcher.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indexer/postcodes_matcher.cpp b/indexer/postcodes_matcher.cpp index c9037860d6..cac4abc133 100644 --- a/indexer/postcodes_matcher.cpp +++ b/indexer/postcodes_matcher.cpp @@ -54,8 +54,9 @@ public: bool HasString(StringSliceBase const & slice, bool isPrefix) const { - auto status = m_strings.Has(make_transform_iterator(JoinIterator::Begin(slice), &SimplifyChar), - make_transform_iterator(JoinIterator::End(slice), &SimplifyChar)); + auto const status = + m_strings.Has(make_transform_iterator(JoinIterator::Begin(slice), &SimplifyChar), + make_transform_iterator(JoinIterator::End(slice), &SimplifyChar)); switch (status) { case TStringSet::Status::Absent: return false; |