forked from organicmaps/organicmaps
Fix minor bug in trie_builder.hpp
This commit is contained in:
parent
72d04eba89
commit
7c39c46830
1 changed files with 2 additions and 1 deletions
|
@ -250,7 +250,8 @@ void Build(SinkT & sink, IterT const beg, IterT const end, EdgeBuilderT const &
|
|||
for (IterT it = beg; it != end; ++it)
|
||||
{
|
||||
ElementT e = *it;
|
||||
if (e == prevE) continue;
|
||||
if (e == prevE && it != beg)
|
||||
continue;
|
||||
|
||||
TrieChar const * const pKeyData = e.GetKeyData();
|
||||
TrieString key(pKeyData, pKeyData + e.GetKeySize());
|
||||
|
|
Loading…
Add table
Reference in a new issue