diff options
author | vng <viktor.govako@gmail.com> | 2011-08-22 13:30:46 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:22:10 +0300 |
commit | 98fd0bd3a46b89cca34df4ff66de7b6315ac37b9 (patch) | |
tree | 52f16f2c8026bdf7e0fb4c60519f631eeaf9de3e /indexer/classificator_loader.cpp | |
parent | 490f954951a7cead4e8a1ae87d9f037539285bb4 (diff) |
Fix generator_tests.
Diffstat (limited to 'indexer/classificator_loader.cpp')
-rw-r--r-- | indexer/classificator_loader.cpp | 8 |
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); + } } |