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:
authorYuri Gorshenin <y@maps.me>2017-11-28 18:29:14 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2017-11-30 17:48:30 +0300
commit15fc8505fe22be39b98ab9cd85c8337c2be31ba4 (patch)
treefd03d3050cf6876ca38a040546ea68dce86d8b00 /indexer/trie.hpp
parentbc7e14b34cad4f1b5d0fb4e110ba16fc04ac3b15 (diff)
[search] MemSearchIndex prototype.
Diffstat (limited to 'indexer/trie.hpp')
-rw-r--r--indexer/trie.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indexer/trie.hpp b/indexer/trie.hpp
index eebdd0929a..26a57428da 100644
--- a/indexer/trie.hpp
+++ b/indexer/trie.hpp
@@ -19,7 +19,8 @@ uint32_t constexpr kDefaultChar = 0;
template <typename ValueList>
struct Iterator
{
- using Value = typename ValueList::Value;
+ using List = ValueList;
+ using Value = typename List::Value;
struct Edge
{
@@ -33,7 +34,7 @@ struct Iterator
virtual std::unique_ptr<Iterator<ValueList>> GoToEdge(size_t i) const = 0;
buffer_vector<Edge, 8> m_edges;
- ValueList m_values;
+ List m_values;
};
template <typename ValueList, typename ToDo, typename String>