diff options
author | vng <viktor.govako@gmail.com> | 2012-10-17 04:14:33 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:45:40 +0300 |
commit | c0b3220afbd3dfcfa1ee3efe8b7ad92c558a2f91 (patch) | |
tree | 6428d6427d14ce4880ca010c73dbf7e504c06559 /indexer/feature_data.hpp | |
parent | 68e41fba0d99b71543316d909d5f078f80712e41 (diff) |
Return better feature type than "building" if feature has many choices.
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r-- | indexer/feature_data.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index 35b70c2a8c..850a0d70f9 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -89,6 +89,9 @@ namespace feature void Remove(uint32_t t); string DebugPrint() const; + + /// Sort types by it's specification (more detailed type goes first). + void SortBySpec(); }; inline string DebugPrint(TypesHolder const & t) |