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
path: root/search
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2015-06-24 19:31:07 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:34 +0300
commit9041b8bb69d2b94956cf847e508b9c1ad8c5f190 (patch)
tree22f0cce3a8bd7ba9669d3dd3916c72593a466f73 /search
parentd7dfd870746a3e89ade642fd7d2605e753bbdafd (diff)
Review fixes.
Diffstat (limited to 'search')
-rw-r--r--search/feature_offset_match.hpp2
-rw-r--r--search/search_query.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/search/feature_offset_match.hpp b/search/feature_offset_match.hpp
index acbcebc6de..248b2de50a 100644
--- a/search/feature_offset_match.hpp
+++ b/search/feature_offset_match.hpp
@@ -178,7 +178,7 @@ template <class FilterT> class OffsetIntersecter
{
size_t operator() (ValueT const & v) const
{
- return static_cast<size_t>(v.m_featureId);
+ return v.m_featureId;
}
};
struct EqualFn
diff --git a/search/search_query.cpp b/search/search_query.cpp
index fb86b0fa8c..031c548037 100644
--- a/search/search_query.cpp
+++ b/search/search_query.cpp
@@ -88,7 +88,7 @@ Query::Query(Index const * pIndex,
{
// m_viewport is initialized as empty rects
- ASSERT (m_pIndex, ());
+ ASSERT(m_pIndex, ());
// Results queue's initialization.
static_assert(QUEUES_COUNT == ARRAY_SIZE(g_arrCompare1), "");