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>2010-12-12 17:34:31 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:08:34 +0300
commit7bcd8b95585b56a2182a8d1099bf0d9394b7bbc9 (patch)
tree97bf5ee5758fed00edea2216e48cef1f5533396c /map/feature_vec_model.cpp
parent2dde0d3ee80f91c7e0a5fac53468f7e37fd9a0e3 (diff)
Remove FeatureBuilder->Feature->FeatureBuilder transformation during .dat file generation.
Generation should be faster now.
Diffstat (limited to 'map/feature_vec_model.cpp')
-rw-r--r--map/feature_vec_model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/map/feature_vec_model.cpp b/map/feature_vec_model.cpp
index dd418f057b..f085d2f9c3 100644
--- a/map/feature_vec_model.cpp
+++ b/map/feature_vec_model.cpp
@@ -8,7 +8,7 @@
#include "../indexer/scales.hpp"
#include "../indexer/classif_routine.hpp"
#include "../indexer/classificator.hpp"
-#include "../indexer/feature_processor.hpp"
+#include "../indexer/data_header_reader.hpp"
#include "../base/logging.hpp"
@@ -41,7 +41,7 @@ void FeaturesFetcher::AddMap(string const & dataPath, string const & indexPath)
uint32_t const idxLogPageCount = 11;
FileReader dataReader(dataPath, datLogPageSize, datLogPageCount);
- uint64_t const startOffset = feature::ReadDatHeaderSize(dataReader);
+ uint64_t const startOffset = feature::GetSkipHeaderSize(dataReader);
#ifdef USE_BUFFER_READER
// readers from memory