summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
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;
}