Fixed regression

This commit is contained in:
Pepijn Schoen 2017-03-31 15:30:00 +02:00 committed by Patrick Niklaus
parent 427437d49b
commit b21ee1b63b
2 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ class ContiguousInternalMemoryAlgorithmDataFacade<algorithm::CoreCH>
: public datafacade::AlgorithmDataFacade<algorithm::CoreCH>
{
private:
util::SharedMemoryVector<unsigned> m_is_core_node;
util::ShM<bool, osrm::storage::MemorySetting::SharedMemory>::vector m_is_core_node;
// allocator that keeps the allocation data
std::shared_ptr<ContiguousBlockAllocator> allocator;
@ -164,7 +164,7 @@ class ContiguousInternalMemoryAlgorithmDataFacade<algorithm::CoreCH>
{
auto core_marker_ptr =
data_layout.GetBlockPtr<unsigned>(memory_block, storage::DataLayout::CH_CORE_MARKER);
util::SharedMemoryVector<unsigned> is_core_node(
util::ShM<bool, osrm::storage::MemorySetting::SharedMemory>::vector is_core_node(
core_marker_ptr, data_layout.num_entries[storage::DataLayout::CH_CORE_MARKER]);
m_is_core_node = std::move(is_core_node);
}

View File

@ -71,7 +71,7 @@ template <unsigned NUM_NODES, unsigned NUM_EDGES> struct RandomArrayEntryFixture
}
typename util::InternalMemoryVector<TestNodeArrayEntry> nodes;
typename InternalMemoryVector<TestEdgeArrayEntry> edges;
typename util::InternalMemoryVector<TestEdgeArrayEntry> edges;
std::vector<unsigned> lengths;
std::vector<unsigned> order;
};