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:
authorAlex Zolotarev <alex@maps.me>2015-12-03 18:46:08 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:03:45 +0300
commitbc4f0d37b768db7aa129973cb65a8b3895af1005 (patch)
tree5b4fa08065cc7d7b5432bce0372cede727c0daee /indexer/index.cpp
parentf118c3da5c0def264ad17fb88624cdd2979d8168 (diff)
Minor const fix.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r--indexer/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp
index 90a6139419..cf03bfce3f 100644
--- a/indexer/index.cpp
+++ b/indexer/index.cpp
@@ -117,7 +117,7 @@ bool Index::FeaturesLoaderGuard::IsWorld() const
return m_handle.GetValue<MwmValue>()->GetHeader().GetType() == feature::DataHeader::world;
}
-void Index::FeaturesLoaderGuard::GetFeatureByIndex(uint32_t index, FeatureType & ft)
+void Index::FeaturesLoaderGuard::GetFeatureByIndex(uint32_t index, FeatureType & ft) const
{
m_vector.GetByIndex(index, ft);
ft.SetID(FeatureID(m_handle.GetId(), index));