Fixed tests.

This commit is contained in:
Kruno Tomola Fabro 2016-08-19 19:09:24 +01:00
parent a1fc3244ef
commit 79015177b2
2 changed files with 5 additions and 2 deletions

View File

@ -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);

View File

@ -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();