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:
authorvng <viktor.govako@gmail.com>2015-08-07 16:16:39 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:59:55 +0300
commit8a2c486d2c8368422304ed894ada19ffb93d80be (patch)
tree5c1147dc31445673fcab2aafc1f35296ba9686ab /indexer/index.hpp
parentca342cc8422424e998047cdd00d943db524edced (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.hpp6
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