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-08-22 13:30:46 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:22:10 +0300
commit98fd0bd3a46b89cca34df4ff66de7b6315ac37b9 (patch)
tree52f16f2c8026bdf7e0fb4c60519f631eeaf9de3e /indexer/classificator_loader.cpp
parent490f954951a7cead4e8a1ae87d9f037539285bb4 (diff)
Fix generator_tests.
Diffstat (limited to 'indexer/classificator_loader.cpp')
-rw-r--r--indexer/classificator_loader.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indexer/classificator_loader.cpp b/indexer/classificator_loader.cpp
index 8d1995b816..b7f89a80c4 100644
--- a/indexer/classificator_loader.cpp
+++ b/indexer/classificator_loader.cpp
@@ -44,4 +44,12 @@ namespace classificator
file_t(new FileReader(fPath)).ReadAsString(buffer);
classif().ReadVisibility(buffer);
}
+
+ uint32_t GetTestDefaultType()
+ {
+ vector<string> v;
+ v.push_back("highway");
+ v.push_back("motorway");
+ return classif().GetTypeByPath(v);
+ }
}