Skip to content

Commit

Permalink
Fix GCC missing object error
Browse files Browse the repository at this point in the history
  • Loading branch information
mjjbell committed Dec 9, 2020
1 parent ed8e2a8 commit c430c98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/extractor/restriction_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct transferBuilder

void start(NodeID from, NodeID to) { cur_node = getOrInsertStartNode(rg, from, to); }

void _suffixes_next(NodeID from, NodeID to)
void next_suffixes(NodeID from, NodeID to)
{
// Update the suffix paths to include those that also have this edge
auto new_suffix_it = suffix_nodes.begin();
Expand All @@ -144,7 +144,7 @@ struct transferBuilder

// For each edge on path, if there is an edge in the suffix path not on the current
// path, add as a transfer.
void _add_suffix_transfer(const RestrictionID &suffix_node)
void add_suffix_transfer(const RestrictionID &suffix_node)
{
for (const auto &suffix_edge : rg.GetEdges(suffix_node))
{
Expand Down Expand Up @@ -185,10 +185,10 @@ struct transferBuilder
// We know this edge exists
cur_node = next_edge_itr->target;

_suffixes_next(from, to);
this->next_suffixes(from, to);

std::for_each(suffix_nodes.begin(), suffix_nodes.end(), [&](const auto &suffix_node) {
_add_suffix_transfer(suffix_node);
this->add_suffix_transfer(suffix_node);
});

for (const auto &suffix_node : suffix_nodes)
Expand Down

0 comments on commit c430c98

Please sign in to comment.