File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ template <typename C> typename BlockList<C>::BlockIt BlockList<C>::FindBlock(Doc
41
41
if (it != blocks_.begin ())
42
42
--it;
43
43
44
- DCHECK (it == blocks_.begin () || it->Size () > 0 );
45
- DCHECK (it == blocks_.begin () || it == blocks_.begin () || it->Size () * 2 >= block_size_);
44
+ DCHECK (it == blocks_.begin () || it->Size () * 2 >= block_size_);
46
45
DCHECK (it == blocks_.end () || it->Size () <= 2 * block_size_);
47
46
return it;
48
47
}
Original file line number Diff line number Diff line change @@ -130,4 +130,7 @@ struct SortedVector {
130
130
PMR_NS::vector<DocId> entries_;
131
131
};
132
132
133
+ extern template class BlockList <CompressedSortedSet>;
134
+ extern template class BlockList <SortedVector>;
135
+
133
136
} // namespace dfly::search
You can’t perform that action at this time.
0 commit comments