dset: forward only the live data for contains
with dset
This commit is contained in:
parent
2d6d924d66
commit
dd281fbe1e
@ -82,7 +82,7 @@ namespace cruft::set {
|
||||
/// supplied store.
|
||||
bool contains (dset const &rhs) const
|
||||
{
|
||||
return contains (rhs.m_data);
|
||||
return contains (std::span<ValueT const> {rhs.m_data.data (), rhs.m_size});
|
||||
}
|
||||
|
||||
std::size_t count (ValueT const &val) const
|
||||
|
Loading…
Reference in New Issue
Block a user