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-05-12 13:36:18 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:47:20 +0300
commit334bc1a2310ee00ca14aad7fac0aa9c8159d2b49 (patch)
tree3ed7b60ef2233018fca04c9d3ba7b5d2d9c36334 /indexer/mwm_set.hpp
parentebcbdafa351cc333f958dac2bedd3876d399f95c (diff)
Review fixes.
Diffstat (limited to 'indexer/mwm_set.hpp')
-rw-r--r--indexer/mwm_set.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indexer/mwm_set.hpp b/indexer/mwm_set.hpp
index 7e10f77743..eea64e9230 100644
--- a/indexer/mwm_set.hpp
+++ b/indexer/mwm_set.hpp
@@ -77,7 +77,7 @@ public:
friend class MwmSet;
MwmId() = default;
- MwmId(MwmId const & id) : m_info(id.m_info) {}
+ MwmId(MwmId const & id) = default;
MwmId(shared_ptr<MwmInfo> const & info) : m_info(info) {}
void Reset() { m_info.reset(); }
@@ -197,8 +197,7 @@ public:
void ClearCache();
protected:
- /// @return True when it's possible to get file format version - in
- /// this case version is set to the file format version.
+ /// @return True when file format version was successfully read to MwmInfo.
virtual bool GetVersion(TMwmFileName const & fileName, MwmInfo & info) const = 0;
virtual TMwmValueBasePtr CreateValue(string const & name) const = 0;