Commit 72077a1d authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[3079] Don't compile code requiring shared memory

In case it is turned off, don't link against stuff requiring shared
memory, in particular mapped segment creator in tests. It is not used,
but causes link errors, as it is in a virtual method.
parent 278c59a0
......@@ -143,6 +143,7 @@ INSTANTIATE_TEST_CASE_P(LocalSegment, ZoneDataUpdaterTest,
class MappedSegmentCreator : public SegmentCreator {
MappedSegmentCreator(size_t initial_size =
......@@ -162,7 +163,6 @@ private:
const size_t initial_size_;
// There should be no initialization fiasco there. We only set int value inside
// and don't use it until the create() is called.
MappedSegmentCreator small_creator(4092), default_creator;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment