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:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-01-04 10:17:34 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:04:20 +0300
commitea27bce049e73817b70e6df8dc1e131a0350efe2 (patch)
treef5ccd814e090846a697af0308678855766794cb4 /indexer/index.cpp
parent07dd52fb77e88966ce51a14dc38cddfb9cd077bf (diff)
Pass MwmId by const & in FeaturesLoaderGuard.
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 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,