diff options
author | vng <viktor.govako@gmail.com> | 2015-08-07 16:16:39 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:59:55 +0300 |
commit | 8a2c486d2c8368422304ed894ada19ffb93d80be (patch) | |
tree | 5c1147dc31445673fcab2aafc1f35296ba9686ab /indexer/index.hpp | |
parent | ca342cc8422424e998047cdd00d943db524edced (diff) |
[mwm] Store World’s temporary index files in writable directory according to their inner version.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r-- | indexer/index.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp index 611fd7e8da..d0eb1a4f6f 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -30,9 +30,9 @@ public: class MwmValue : public MwmSet::MwmValueBase { public: - FilesContainerR m_cont; + FilesContainerR const m_cont; IndexFactory m_factory; - platform::CountryFile const m_countryFile; + platform::LocalCountryFile const m_file; feature::FeaturesOffsetsTable const * m_table; explicit MwmValue(platform::LocalCountryFile const & localFile); @@ -41,7 +41,7 @@ public: inline feature::DataHeader const & GetHeader() const { return m_factory.GetHeader(); } inline version::MwmVersion const & GetMwmVersion() const { return m_factory.GetMwmVersion(); } - inline platform::CountryFile const & GetCountryFile() const { return m_countryFile; } + inline platform::CountryFile const & GetCountryFile() const { return m_file.GetCountryFile(); } }; class Index : public MwmSet |