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-10-05 18:33:02 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:25:10 +0300
commit0922eff66cc195f076167693a04c27f6cf47332f (patch)
treef95a18feddfd1559d04519146d0b5fdca4f5d6e2 /indexer/classificator.hpp
parent3ba0b129686c18af443c454cda149d824e1718da (diff)
Add const specifier tu function.
Diffstat (limited to 'indexer/classificator.hpp')
-rw-r--r--indexer/classificator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/classificator.hpp b/indexer/classificator.hpp
index 2459e614d7..806b27c7e2 100644
--- a/indexer/classificator.hpp
+++ b/indexer/classificator.hpp
@@ -221,7 +221,7 @@ public:
/// Return type by path in classificator tree, example:
/// path = ["natural", "caostline"].
- uint32_t GetTypeByPath(vector<string> const & path);
+ uint32_t GetTypeByPath(vector<string> const & path) const;
uint32_t GetIndexForType(uint32_t t) const { return m_t2i.GetIndex(t); }
uint32_t GetTypeForIndex(uint32_t i) const { return m_i2t.GetType(i); }