forked from organicmaps/organicmaps
Minor const fix.
This commit is contained in:
parent
f118c3da5c
commit
bc4f0d37b7
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
|
@ -249,7 +249,7 @@ public:
|
|||
inline MwmSet::MwmId GetId() const { return m_handle.GetId(); }
|
||||
string GetCountryFileName() const;
|
||||
bool IsWorld() const;
|
||||
void GetFeatureByIndex(uint32_t index, FeatureType & ft);
|
||||
void GetFeatureByIndex(uint32_t index, FeatureType & ft) const;
|
||||
inline FeaturesVector const & GetFeaturesVector() const { return m_vector; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue