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>2012-10-09 15:04:40 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:45:02 +0300
commitebf3bccf1765fb4700c4cdd868ce372408016c08 (patch)
tree19732123a2ea401d8aaf210809e4be8853b06fa3 /indexer/types_mapping.hpp
parent546372dd085c2e16834e3630d682b554403f8ca6 (diff)
[generator] Add test for checking consistency of types.txt and classificator.txt
Diffstat (limited to 'indexer/types_mapping.hpp')
-rw-r--r--indexer/types_mapping.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/types_mapping.hpp b/indexer/types_mapping.hpp
index 6a1f9bd496..72dcc1be62 100644
--- a/indexer/types_mapping.hpp
+++ b/indexer/types_mapping.hpp
@@ -25,4 +25,7 @@ public:
}
uint32_t GetIndex(uint32_t t) const;
+
+ /// For Debug purposes only.
+ bool HasIndex(uint32_t t) const { return (m_map.find(t) != m_map.end()); }
};