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-01-29 15:34:04 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:16:29 +0300
commitca90764d85352aad99f01ce9fa1682ab258876bb (patch)
tree355bd1e0f705e445b04c5fd72286cd97a18f2319 /indexer/feature_impl.cpp
parent86f604992bb3c150ee04f64850d45ae375fb3a4e (diff)
[search] Fixed greedy street matching.
Diffstat (limited to 'indexer/feature_impl.cpp')
-rw-r--r--indexer/feature_impl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indexer/feature_impl.cpp b/indexer/feature_impl.cpp
index 2ae4979a82..b2d53f55e4 100644
--- a/indexer/feature_impl.cpp
+++ b/indexer/feature_impl.cpp
@@ -67,4 +67,8 @@ bool IsHouseNumber(string const & s)
return (!s.empty() && IsDigit(s[0]));
}
+bool IsHouseNumber(strings::UniString const & s)
+{
+ return (!s.empty() && IsDigit(s[0]));
+}
}