diff options
author | Denis Koronchik <denis@mapswithme.com> | 2014-09-16 12:05:39 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:28:17 +0300 |
commit | d8f3008ecc7300e87262308e753c7bf3d850c9e9 (patch) | |
tree | 44b2d2bc6df3299d66681a200bf4d7f2962f4d59 /indexer | |
parent | b353a8adaef05206e4bf6769695e566d8e5989ce (diff) |
[coding] Implement FileMappingContainer
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/data_factory.cpp | 2 | ||||
-rw-r--r-- | indexer/search_index_builder.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indexer/data_factory.cpp b/indexer/data_factory.cpp index 34011ad3ea..b1acc286cf 100644 --- a/indexer/data_factory.cpp +++ b/indexer/data_factory.cpp @@ -17,7 +17,7 @@ void LoadMapHeader(FilesContainerR const & cont, FHeaderT & header) { ModelReaderPtr headerReader = cont.GetReader(HEADER_FILE_TAG); - if (!cont.IsReaderExist(VERSION_FILE_TAG)) + if (!cont.IsExist(VERSION_FILE_TAG)) header.LoadVer1(headerReader); else { diff --git a/indexer/search_index_builder.cpp b/indexer/search_index_builder.cpp index 82f3817662..5b8373e9d8 100644 --- a/indexer/search_index_builder.cpp +++ b/indexer/search_index_builder.cpp @@ -409,7 +409,7 @@ bool indexer::BuildSearchIndexFromDatFile(string const & fName, bool forceRebuil { FilesContainerR readCont(datFile); - if (!forceRebuild && readCont.IsReaderExist(SEARCH_INDEX_FILE_TAG)) + if (!forceRebuild && readCont.IsExist(SEARCH_INDEX_FILE_TAG)) return true; FileWriter writer(tmpFile); |