From e7abe37b1093f14d6b1a03d3a29706d3c97aa8a0 Mon Sep 17 00:00:00 2001 From: Denis Koronchik Date: Tue, 22 Aug 2017 12:57:51 +0300 Subject: [PATCH] Prevent linkage errors when load/write extracted graph from external app --- include/partition/edge_based_graph_reader.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/partition/edge_based_graph_reader.hpp b/include/partition/edge_based_graph_reader.hpp index cfe53cf6e..ae71fbe1d 100644 --- a/include/partition/edge_based_graph_reader.hpp +++ b/include/partition/edge_based_graph_reader.hpp @@ -26,7 +26,7 @@ namespace partition { // Bidirectional (s,t) to (s,t) and (t,s) -std::vector +inline std::vector splitBidirectionalEdges(const std::vector &edges) { std::vector directed; @@ -136,7 +136,8 @@ std::vector prepareEdgesForUsageInGraph(std::vector graphToEdges(const DynamicEdgeBasedGraph &edge_based_graph) +inline std::vector +graphToEdges(const DynamicEdgeBasedGraph &edge_based_graph) { auto range = tbb::blocked_range(0, edge_based_graph.GetNumberOfNodes()); auto max_turn_id =