diff options
author | vng <viktor.govako@gmail.com> | 2012-09-21 03:31:52 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:43:37 +0300 |
commit | d03e167bc0484fcf9837da2a84ff2bc220ad0203 (patch) | |
tree | 568ba7847b0287e787ab2d1afdd63cf6f05475f9 /indexer/index.cpp | |
parent | 94fa7d216cffdffe1fbfd58923fe2e6f13523b3a (diff) |
Framework::GetVisiblePOI is working for symbols now.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r-- | indexer/index.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp index 69de20d718..cd6989798d 100644 --- a/indexer/index.cpp +++ b/indexer/index.cpp @@ -120,3 +120,15 @@ void Index::UpdateMwmInfo(MwmId id) break; } } + +Index::FeaturesLoaderGuard::FeaturesLoaderGuard(Index const & parent, MwmId id) + : m_lock(parent, id), + /// @note This guard is suitable when mwm is loaded + m_vector(m_lock.GetValue()->m_cont, m_lock.GetValue()->GetHeader()) +{ +} + +void Index::FeaturesLoaderGuard::GetFeature(uint32_t offset, FeatureType & ft) +{ + m_vector.Get(offset, ft); +} |