Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2016-06-07 18:04:07 +0300
committerYuri Gorshenin <y@maps.me>2016-06-15 17:43:46 +0300
commit83a097a846e1debe6fc80cc02aed415a743ebbdd (patch)
treec333a26c8a1fa09038e3e9c9f38cf1f96da3499f /indexer/postcodes_matcher.cpp
parent9201925db05acf6b490c217752fb111810b351ea (diff)
[search] House number parser revisited.
Diffstat (limited to 'indexer/postcodes_matcher.cpp')
-rw-r--r--indexer/postcodes_matcher.cpp5
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;