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:
authorExMix <rahuba.youri@mapswithme.com>2014-11-19 09:33:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:32:56 +0300
commitd5f9daeec0e1044df0feba2d3e84809d4165fcab (patch)
tree891fdd8c3190d38672c8c3d83d811dadbe6ff1e0 /drape_frontend/tile_info.cpp
parent20f48e426efdd09d23729fea8be264b8de1cce7a (diff)
review fix
Diffstat (limited to 'drape_frontend/tile_info.cpp')
-rw-r--r--drape_frontend/tile_info.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/drape_frontend/tile_info.cpp b/drape_frontend/tile_info.cpp
index e7f8813e3f..b9bb044a37 100644
--- a/drape_frontend/tile_info.cpp
+++ b/drape_frontend/tile_info.cpp
@@ -55,7 +55,7 @@ void TileInfo::ReadFeatureIndex(MapDataProvider const & model)
if (DoNeedReadIndex())
{
CheckCanceled();
- model.ReadFeaturesID(bind(&TileInfo::operator(), this, _1), GetGlobalRect(), GetZoomLevel());
+ model.ReadFeaturesID(bind(&TileInfo::ProcessID, this, _1), GetGlobalRect(), GetZoomLevel());
sort(m_featureInfo.begin(), m_featureInfo.end());
}
}
@@ -79,7 +79,7 @@ void TileInfo::ReadFeatures(MapDataProvider const & model,
for_each(indexes.begin(), indexes.end(), IDsAccumulator(featuresToRead, m_featureInfo));
RuleDrawer drawer(bind(&TileInfo::InitStylist, this, _1 ,_2), m_key, context);
- model.ReadFeatures(bind(&RuleDrawer::operator(), &drawer, _1), featuresToRead);
+ model.ReadFeatures(bind<void>(ref(drawer), _1), featuresToRead);
}
}
@@ -91,7 +91,7 @@ void TileInfo::Cancel(MemoryFeatureIndex & memIndex)
memIndex.RemoveFeatures(m_featureInfo);
}
-void TileInfo::operator ()(FeatureID const & id)
+void TileInfo::ProcessID(FeatureID const & id)
{
m_featureInfo.push_back(id);
CheckCanceled();