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 03:57:11 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:45:01 +0300
commit80da0c28a93480f4f3539cac16650f5c733a6d08 (patch)
tree14f7e026e3ffee82212fc141094e48657264d054 /indexer/types_mapping.hpp
parent874d8aeb900f7443b10ae2c8cfa617caa97f8d29 (diff)
[generator] Add more logging to CHECKs.
Diffstat (limited to 'indexer/types_mapping.hpp')
-rw-r--r--indexer/types_mapping.hpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indexer/types_mapping.hpp b/indexer/types_mapping.hpp
index d33a20e1f3..6a1f9bd496 100644
--- a/indexer/types_mapping.hpp
+++ b/indexer/types_mapping.hpp
@@ -24,10 +24,5 @@ public:
return m_types[ind];
}
- uint32_t GetIndex(uint32_t t) const
- {
- MapT::const_iterator i = m_map.find(t);
- ASSERT ( i != m_map.end(), () );
- return i->second;
- }
+ uint32_t GetIndex(uint32_t t) const;
};