Fixed tests.
This commit is contained in:
parent
a1fc3244ef
commit
79015177b2
@ -55,8 +55,6 @@ class DynamicBitset : Lockable<SpinLock>
|
||||
Chunk(Chunk &) = delete;
|
||||
Chunk(Chunk &&) = delete;
|
||||
|
||||
~Chunk() { delete next; }
|
||||
|
||||
static constexpr size_t size = chunk_size * Block::size;
|
||||
static constexpr size_t n_blocks = chunk_size / sizeof(block_t);
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "data_structures/concurrent/concurrent_set.hpp"
|
||||
#include "logging/default.hpp"
|
||||
#include "logging/streams/stdout.hpp"
|
||||
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
@ -17,6 +19,9 @@ void print_skiplist(const ConcurrentSet<int>::Accessor &skiplist)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
logging::init_async();
|
||||
logging::log->pipe(std::make_unique<Stdout>());
|
||||
|
||||
ConcurrentSet<int> set;
|
||||
auto accessor = set.access();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user