diff options
author | vng <viktor.govako@gmail.com> | 2015-07-22 15:27:39 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:34 +0300 |
commit | 1d0179fa98360d86aad76903ba29223e53b589c6 (patch) | |
tree | d305a272f4020ec8c3b046466a8e7a10b5e25ce1 /indexer/feature_data.hpp | |
parent | 2f25caa3e845b4922476a6525e0f1f8e47430e49 (diff) |
Leave feature type as-is even if name is empty.
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r-- | indexer/feature_data.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index 6ae9f73e21..15c49873e7 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -75,6 +75,7 @@ namespace feature inline uint32_t const * begin() const { return m_types; } inline uint32_t const * end() const { return m_types + m_size; } + /// Assume that m_types is already sorted by SortBySpec function. inline uint32_t GetBestType() const { // 0 - is an empty type. |