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-02-19 16:46:59 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:45:27 +0300
commit060374379265ae5dc00166dc21391f2f12972a2a (patch)
treecb76bf7238da8a7d79d9044e82d86fe5594ce10d /indexer/data_factory.cpp
parent7f050eb375c206d01960673c550e21db7c62d392 (diff)
Store seconds since epoch in mwm as version.
Diffstat (limited to 'indexer/data_factory.cpp')
-rw-r--r--indexer/data_factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/data_factory.cpp b/indexer/data_factory.cpp
index f2f20a47d7..b9ac8abc86 100644
--- a/indexer/data_factory.cpp
+++ b/indexer/data_factory.cpp
@@ -11,7 +11,7 @@ void IndexFactory::Load(FilesContainerR const & cont)
IntervalIndexIFace * IndexFactory::CreateIndex(ModelReaderPtr reader) const
{
- if (m_version.format == version::Format::v1)
+ if (m_version.GetFormat() == version::Format::v1)
return new old_101::IntervalIndex<uint32_t, ModelReaderPtr>(reader);
return new IntervalIndex<ModelReaderPtr>(reader);
}