diff options
Diffstat (limited to 'src/storage/phrase_large_table.cpp')
| -rw-r--r-- | src/storage/phrase_large_table.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage/phrase_large_table.cpp b/src/storage/phrase_large_table.cpp index 38d6d5e..d7941cd 100644 --- a/src/storage/phrase_large_table.cpp +++ b/src/storage/phrase_large_table.cpp @@ -169,6 +169,8 @@ int PhraseArrayIndexLevel<phrase_length>::search(/* in */ utf16_t phrase[], /* o if ( range.first == range.second ) return SEARCH_NONE; + assert(range.second - range.first == 1); + token = range.first->m_token; return SEARCH_OK; } |
