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>2011-08-22 13:31:22 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:22:10 +0300
commite0e6a49d3492efecb3e471cba2522ccef56b57fd (patch)
tree75f018abcd2dceccfc11f020283e7880519d2f38 /indexer/classificator.hpp
parent98fd0bd3a46b89cca34df4ff66de7b6315ac37b9 (diff)
Make clear function names for classificator types.
Diffstat (limited to 'indexer/classificator.hpp')
-rw-r--r--indexer/classificator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/classificator.hpp b/indexer/classificator.hpp
index 006005a97a..2459e614d7 100644
--- a/indexer/classificator.hpp
+++ b/indexer/classificator.hpp
@@ -223,8 +223,8 @@ public:
/// path = ["natural", "caostline"].
uint32_t GetTypeByPath(vector<string> const & path);
- uint32_t TypeForIndex(uint32_t t) const { return m_t2i.GetIndex(t); }
- uint32_t IndexForType(uint32_t i) const { return m_i2t.GetType(i); }
+ uint32_t GetIndexForType(uint32_t t) const { return m_t2i.GetIndex(t); }
+ uint32_t GetTypeForIndex(uint32_t i) const { return m_i2t.GetType(i); }
// Iterate for possible objects types
//template <class ToDo> void ForEachType(ToDo toDo)