diff options
author | vng <viktor.govako@gmail.com> | 2015-06-24 19:31:07 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:52:34 +0300 |
commit | 9041b8bb69d2b94956cf847e508b9c1ad8c5f190 (patch) | |
tree | 22f0cce3a8bd7ba9669d3dd3916c72593a466f73 /search | |
parent | d7dfd870746a3e89ade642fd7d2605e753bbdafd (diff) |
Review fixes.
Diffstat (limited to 'search')
-rw-r--r-- | search/feature_offset_match.hpp | 2 | ||||
-rw-r--r-- | search/search_query.cpp | 2 |
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), ""); |