summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-04-30 21:33:14 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-04-30 21:33:14 +0000
commitb9aaf5ef17154174ae0c8b0616c9821609f9856f (patch)
treed740090a90b66a5873e9f85356873c681be3af64 /searchlib
parenta80a1cf9e6a300f4fb6072f71b4eb464bceeb5b2 (diff)
Remove assert that no longer is valid.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/enumstore.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/enumstore.cpp b/searchlib/src/vespa/searchlib/attribute/enumstore.cpp
index b07515a675e..2b7065e8705 100644
--- a/searchlib/src/vespa/searchlib/attribute/enumstore.cpp
+++ b/searchlib/src/vespa/searchlib/attribute/enumstore.cpp
@@ -29,13 +29,7 @@ EnumStoreT<const char*>::load_unique_value(const void* src, size_t available, In
if (available < sz) {
return -1;
}
- Index prev_idx = idx;
idx = _store.get_allocator().allocate(value);
-
- if (prev_idx.valid()) {
- auto cmp = make_comparator(value);
- assert(cmp.less(prev_idx, Index()));
- }
return sz;
}