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:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-05-24 12:50:41 +0300
committerSergey Magidovich <mgsergio@mapswithme.com>2016-05-25 14:22:58 +0300
commitec26af0c03be006e89729b7f8cd84a675372cfc2 (patch)
tree0f596570beb2ecd23fecd5d5d65eaf44340865c9 /indexer/postcodes_matcher.hpp
parent6c3124edee85535e6baa7259e810a3dabd2d39e8 (diff)
Code review.
Diffstat (limited to 'indexer/postcodes_matcher.hpp')
-rw-r--r--indexer/postcodes_matcher.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indexer/postcodes_matcher.hpp b/indexer/postcodes_matcher.hpp
index 3d0ab900a9..d7af92e984 100644
--- a/indexer/postcodes_matcher.hpp
+++ b/indexer/postcodes_matcher.hpp
@@ -7,11 +7,11 @@
namespace search
{
-bool LooksLikePostcode(StringSliceBase const & slice, bool handleAsPrefix);
+/// If isPrefix is true returns true if some postcode starts with s.
+/// If isPrefix is false returns true if s equals to some postcode.
+bool LooksLikePostcode(StringSliceBase const & slice, bool isPrefix);
/// Splits s into tokens and call LooksLikePostcode(TokenSlice) on the result.
-/// If handleAsPrefix is true returns true if some postcode starts with s.
-/// If handleAsPrefix is false returns true if s equals to some postcode.
-bool LooksLikePostcode(string const & s, bool handleAsPrefix);
+bool LooksLikePostcode(string const & s, bool isPrefix);
size_t GetMaxNumTokensInPostcode();
} // namespace search