diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-01-04 10:17:34 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:04:20 +0300 |
commit | ea27bce049e73817b70e6df8dc1e131a0350efe2 (patch) | |
tree | f5ccd814e090846a697af0308678855766794cb4 /indexer/index.cpp | |
parent | 07dd52fb77e88966ce51a14dc38cddfb9cd077bf (diff) |
Pass MwmId by const & in FeaturesLoaderGuard.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r-- | indexer/index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp index c004d14288..3eaefc7971 100644 --- a/indexer/index.cpp +++ b/indexer/index.cpp @@ -96,7 +96,7 @@ void Index::OnMwmDeregistered(LocalCountryFile const & localFile) // Index::FeaturesLoaderGuard implementation ////////////////////////////////////////////////////////////////////////////////// -Index::FeaturesLoaderGuard::FeaturesLoaderGuard(Index const & parent, MwmId id) +Index::FeaturesLoaderGuard::FeaturesLoaderGuard(Index const & parent, MwmId const & id) : m_handle(parent.GetMwmHandleById(id)), /// @note This guard is suitable when mwm is loaded m_vector(m_handle.GetValue<MwmValue>()->m_cont, |