summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/chewing_large_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp
index 74050d8..4d35996 100644
--- a/src/storage/chewing_large_table.cpp
+++ b/src/storage/chewing_large_table.cpp
@@ -611,7 +611,7 @@ int ChewingArrayIndexLevel<phrase_length>::remove_index
break;
}
- if (cur_elem == range.second || cur_elem->m_token != token)
+ if (cur_elem == range.second)
return REMOVE_ITEM_DONOT_EXISTS;
int offset = (cur_elem - begin) * sizeof(IndexItem);