Address PR comments

This commit is contained in:
Patrick Niklaus
2017-03-09 22:44:56 +00:00
committed by Patrick Niklaus
parent 4986f5ea2d
commit 94e2a8598d
6 changed files with 49 additions and 45 deletions
@@ -60,7 +60,7 @@ class CompressedEdgeContainer
NodeID GetLastEdgeSourceID(const EdgeID edge_id) const;
// Invalidates the internal storage
SegmentDataContainer ToSegmentData();
std::unique_ptr<SegmentDataContainer> ToSegmentData();
private:
int free_list_maximum = 0;
@@ -71,7 +71,7 @@ class CompressedEdgeContainer
std::unordered_map<EdgeID, unsigned> m_edge_id_to_list_index_map;
std::unordered_map<EdgeID, unsigned> m_forward_edge_id_to_zipped_index_map;
std::unordered_map<EdgeID, unsigned> m_reverse_edge_id_to_zipped_index_map;
SegmentDataContainer segment_data;
std::unique_ptr<SegmentDataContainer> segment_data;
};
}
}