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>2013-04-12 14:48:30 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:52:59 +0300
commitbc752c729ca3187a3932f363927dea34f69c737a (patch)
tree205207b1cb8cb9c936ce84c29114d452cf164ba7 /indexer/classificator.cpp
parentafa8a7acc1cd715966e4b3af41c04b5f151f863e (diff)
[search] Fix category name from type resolver.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r--indexer/classificator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp
index ab8fbf27d9..6267b63c12 100644
--- a/indexer/classificator.cpp
+++ b/indexer/classificator.cpp
@@ -286,6 +286,11 @@ namespace ftype
set_value(type, cl, 1);
}
}
+
+ uint8_t GetLevel(uint32_t type)
+ {
+ return get_control_level(type);
+ }
}
namespace