diff options
author | Yuri Gorshenin <y@maps.me> | 2016-01-29 15:34:04 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:16:29 +0300 |
commit | ca90764d85352aad99f01ce9fa1682ab258876bb (patch) | |
tree | 355bd1e0f705e445b04c5fd72286cd97a18f2319 /indexer/feature_impl.cpp | |
parent | 86f604992bb3c150ee04f64850d45ae375fb3a4e (diff) |
[search] Fixed greedy street matching.
Diffstat (limited to 'indexer/feature_impl.cpp')
-rw-r--r-- | indexer/feature_impl.cpp | 4 |
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])); +} } |