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:
authorYuri Gorshenin <y@maps.me>2015-04-27 17:24:08 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:46:28 +0300
commitd730b89b55837582e0f14b3a54a7f20f09819b05 (patch)
treedb5a2caec5d62c5a9022a10ca3f204aefe0c7d6f /indexer/index.cpp
parent3cd1aabf377cbc5de2e74dc3ff196b018a8c6d34 (diff)
Review fixes.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r--indexer/index.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp
index 378a3e3fc2..8bb1499507 100644
--- a/indexer/index.cpp
+++ b/indexer/index.cpp
@@ -47,10 +47,10 @@ bool Index::GetVersion(string const & name, MwmInfo & info) const
return true;
}
-shared_ptr<MwmSet::MwmValueBase> Index::CreateValue(string const & name) const
+MwmSet::TMwmValueBasePtr Index::CreateValue(string const & name) const
{
- shared_ptr<MwmValue> p(new MwmValue(name));
- ASSERT(p->GetHeader().IsMWMSuitable(), ());
+ TMwmValueBasePtr p(new MwmValue(name));
+ ASSERT(static_cast<MwmValue &>(*p.get()).GetHeader().IsMWMSuitable(), ());
return p;
}