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>2011-11-11 19:39:25 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:27:44 +0300
commit94b55d38350ee24712ecd01d090218e49f0f647c (patch)
tree879ffc29fbd3b89d5d0efa53a162eaa48118578f /map/feature_vec_model.cpp
parent1529969f4bdad281fa805b0173786aa2ebe17c6f (diff)
Better classificator loading. File names are incapsulated now.
Diffstat (limited to 'map/feature_vec_model.cpp')
-rw-r--r--map/feature_vec_model.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/map/feature_vec_model.cpp b/map/feature_vec_model.cpp
index 70733d111e..539aac12ff 100644
--- a/map/feature_vec_model.cpp
+++ b/map/feature_vec_model.cpp
@@ -18,14 +18,9 @@ namespace model
void FeaturesFetcher::InitClassificator()
{
- Platform & p = GetPlatform();
-
try
{
- classificator::Read(p.GetReader("drawing_rules.bin"),
- p.GetReader("classificator.txt"),
- p.GetReader("visibility.txt"),
- p.GetReader("types.txt"));
+ classificator::Load();
}
catch (FileAbsentException const & e)
{