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/index.hpp
parent6b9892d72ad0bbe54a7a7f7ef7664e517c8d54fc (diff)
Review fixes.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r--indexer/index.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp
index d7c21ba0d5..611fd7e8da 100644
--- a/indexer/index.hpp
+++ b/indexer/index.hpp
@@ -125,14 +125,14 @@ private:
for (auto const & i : interval)
{
- index.ForEachInIntervalAndScale([&] (uint32_t ind)
+ index.ForEachInIntervalAndScale([&] (uint32_t index)
{
- if (checkUnique(ind))
+ if (checkUnique(index))
{
FeatureType feature;
- fv.GetByIndex(ind, feature);
- feature.SetID(FeatureID(mwmID, ind));
+ fv.GetByIndex(index, feature);
+ feature.SetID(FeatureID(mwmID, index));
m_f(feature);
}
@@ -172,10 +172,10 @@ private:
for (auto const & i : interval)
{
- index.ForEachInIntervalAndScale([&] (uint32_t ind)
+ index.ForEachInIntervalAndScale([&] (uint32_t index)
{
- if (checkUnique(ind))
- m_f(FeatureID(mwmID, ind));
+ if (checkUnique(index))
+ m_f(FeatureID(mwmID, index));
}, i.first, i.second, scale);
}
}
@@ -230,7 +230,7 @@ public:
inline MwmSet::MwmId GetId() const { return m_handle.GetId(); }
string GetCountryFileName() const;
bool IsWorld() const;
- void GetFeatureByIndex(uint32_t ind, FeatureType & ft);
+ void GetFeatureByIndex(uint32_t index, FeatureType & ft);
private:
MwmHandle m_handle;
@@ -271,7 +271,7 @@ private:
FeatureID const & featureId = features[result];
FeatureType featureType;
- featureReader.GetByIndex(featureId.m_ind, featureType);
+ featureReader.GetByIndex(featureId.m_index, featureType);
featureType.SetID(featureId);
f(featureType);