Code review actions (plus hopefully fix the linux CI)

This commit is contained in:
Hamish Milne
2020-03-31 17:54:28 +01:00
parent 9bd189a155
commit 92640fc29c
46 changed files with 155 additions and 109 deletions
+3 -3
View File
@@ -5,10 +5,11 @@
#pragma once
#include <optional>
#include <type_traits>
#include <boost/icl/interval_set.hpp>
#include <boost/serialization/set.hpp>
#include "common/common_types.h"
#include "common/serialization/boost_discrete_interval.hpp"
#include "common/serialization/boost_interval_set.hpp"
namespace Kernel {
@@ -70,8 +71,7 @@ private:
ar& base;
ar& size;
ar& used;
// This works because interval_set has exactly one member of type ImplSetT
ar&*(reinterpret_cast<IntervalSet::ImplSetT*>(&free_blocks));
ar& free_blocks;
}
};