mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 02:15:45 +02:00
chore: fix some of FreeBsd compile issues. (#1374)
1. Use experimental/memory_resource because clang on freebsd does not support yet std::memory_resource 2. Pull latest helio with all the compatibility fixes. 3. Replace linux only SOL_TCP constant with IPPROTO_TCP (same value). 4. Fix build files to work on FreeBsd system. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
9c8b3296b2
commit
cf1ac87156
18 changed files with 105 additions and 59 deletions
|
@ -67,7 +67,7 @@ void DenseSet::IteratorBase::Advance() {
|
|||
DCHECK(!curr_entry_->IsEmpty());
|
||||
}
|
||||
|
||||
DenseSet::DenseSet(pmr::memory_resource* mr) : entries_(mr) {
|
||||
DenseSet::DenseSet(MemoryResource* mr) : entries_(mr) {
|
||||
}
|
||||
|
||||
DenseSet::~DenseSet() {
|
||||
|
@ -466,7 +466,7 @@ void DenseSet::Delete(DensePtr* prev, DensePtr* ptr) {
|
|||
}
|
||||
|
||||
void* DenseSet::PopInternal() {
|
||||
std::pmr::vector<DenseSet::DensePtr>::iterator bucket_iter = entries_.begin();
|
||||
ChainVectorIterator bucket_iter = entries_.begin();
|
||||
|
||||
// find the first non-empty chain
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue