From e3e7dc136c4577b5502c54067537d4b102ed06af Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Wed, 27 Dec 2017 18:44:17 +0300 Subject: [PATCH] Review fixes. --- .../srtm_coverage_checker/srtm_coverage_checker.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/generator/srtm_coverage_checker/srtm_coverage_checker.cpp b/generator/srtm_coverage_checker/srtm_coverage_checker.cpp index 995c164df2..a8a77429ed 100644 --- a/generator/srtm_coverage_checker/srtm_coverage_checker.cpp +++ b/generator/srtm_coverage_checker/srtm_coverage_checker.cpp @@ -4,14 +4,13 @@ #include "routing/routing_helpers.hpp" -#include "indexer/classificator.hpp" #include "indexer/classificator_loader.hpp" #include "indexer/feature.hpp" #include "indexer/feature_altitude.hpp" #include "indexer/feature_data.hpp" #include "indexer/feature_processor.hpp" -#include "coding/file_name_utils.hpp" +#include "geometry/mercator.hpp" #include "platform/country_file.hpp" #include "platform/local_country_file.hpp" @@ -20,10 +19,10 @@ #include "base/logging.hpp" -#include +#include #include #include -#include +#include #include "3party/gflags/src/gflags/gflags.h" @@ -53,13 +52,11 @@ int main(int argc, char * argv[]) LOG(LINFO, ("writable dir =", platform.WritableDir())); LOG(LINFO, ("srtm dir =", FLAGS_srtm_path)); - vector localFiles; - platform::FindAllLocalMapsAndCleanup(numeric_limits::max() /* latestVersion */, - localFiles); + vector localFiles; + FindAllLocalMapsAndCleanup(numeric_limits::max() /* latestVersion */, localFiles); generator::SrtmTileManager manager(FLAGS_srtm_path); classificator::Load(); - classif().SortClassificator(); for (auto & file : localFiles) {