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:
authorvng <viktor.govako@gmail.com>2015-07-17 17:27:55 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:15 +0300
commit5399343271ccb738d2624fb25250ba3e9694e21c (patch)
tree164387f96c2c8a2b8d6e704fe3d74db2d2d8560f /indexer/feature_loader.cpp
parent6b9892d72ad0bbe54a7a7f7ef7664e517c8d54fc (diff)
Review fixes.
Diffstat (limited to 'indexer/feature_loader.cpp')
-rw-r--r--indexer/feature_loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature_loader.cpp b/indexer/feature_loader.cpp
index 85e03bb9d9..0e79af92bd 100644
--- a/indexer/feature_loader.cpp
+++ b/indexer/feature_loader.cpp
@@ -260,11 +260,11 @@ void LoaderCurrent::ParseMetadata()
DDVector<IdxElementT, FilesContainerR::ReaderT> idx(m_Info.GetMetadataIndexReader());
auto it = lower_bound(idx.begin(), idx.end()
- , make_pair(uint32_t(m_pF->m_id.m_ind), uint32_t(0))
+ , make_pair(uint32_t(m_pF->m_id.m_index), uint32_t(0))
, [](IdxElementT const & v1, IdxElementT const & v2) { return v1.first < v2.first; }
);
- if (it != idx.end() && m_pF->m_id.m_ind == it->first)
+ if (it != idx.end() && m_pF->m_id.m_index == it->first)
{
ReaderSource<FilesContainerR::ReaderT> reader(m_Info.GetMetadataReader());
reader.Skip(it->second);