Skip to content

Commit 687a3cd

Browse files
committed
Merge branch 'master' into avoid_samelookup_in_heap_map
2 parents f376225 + 50d9632 commit 687a3cd

File tree

368 files changed

+1189
-1152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

368 files changed

+1189
-1152
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ matrix:
6262
- npm ci --ignore-scripts
6363
script:
6464
- ./scripts/check_taginfo.py taginfo.json profiles/car.lua
65-
- ${MASON} install clang-format 3.8.1
66-
- PATH=$(${MASON} prefix clang-format 3.8.1)/bin:${PATH} ./scripts/format.sh && ./scripts/error_on_dirty.sh
65+
- ${MASON} install clang-format 10.0.0
66+
- PATH=$(${MASON} prefix clang-format 10.0.0)/bin:${PATH} ./scripts/format.sh && ./scripts/error_on_dirty.sh
6767
- node ./scripts/validate_changelog.js
6868
# See issue 4043
6969
#- npm run docs && ./scripts/error_on_dirty.sh

include/contractor/contract_excludable_graph.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ inline auto contractExcludableGraph(ContractorGraph contractor_graph_,
9494
return GraphAndFilter{QueryGraph{num_nodes, std::move(edge_container.edges)},
9595
edge_container.MakeEdgeFilters()};
9696
}
97-
}
98-
}
97+
} // namespace contractor
98+
} // namespace osrm
9999

100100
#endif

include/contractor/contracted_edge_container.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ struct ContractedEdgeContainer
164164
std::vector<MergedFlags> flags;
165165
std::vector<QueryEdge> edges;
166166
};
167-
}
168-
}
167+
} // namespace contractor
168+
} // namespace osrm
169169

170170
#endif

include/contractor/contracted_metric.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ template <storage::Ownership Ownership> struct ContractedMetric
1515
detail::QueryGraph<Ownership> graph;
1616
std::vector<util::ViewOrVector<bool, Ownership>> edge_filter;
1717
};
18-
}
18+
} // namespace detail
1919

2020
using ContractedMetric = detail::ContractedMetric<storage::Ownership::Container>;
2121
using ContractedMetricView = detail::ContractedMetric<storage::Ownership::View>;
22-
}
23-
}
22+
} // namespace contractor
23+
} // namespace osrm
2424

2525
#endif

include/contractor/contractor.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Contractor
4949
private:
5050
ContractorConfig config;
5151
};
52-
}
53-
}
52+
} // namespace contractor
53+
} // namespace osrm
5454

5555
#endif // PROCESSING_CHAIN_HPP

include/contractor/contractor_config.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct ContractorConfig final : storage::IOConfig
7373
//(e.g. 0.8 contracts 80 percent of the hierarchy, leaving a core of 20%)
7474
double core_factor;
7575
};
76-
}
77-
}
76+
} // namespace contractor
77+
} // namespace osrm
7878

7979
#endif // EXTRACTOR_OPTIONS_HPP

include/contractor/crc32_processor.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct RangebasedCRC32
125125
private:
126126
IteratorbasedCRC32 crc32;
127127
};
128-
}
129-
}
128+
} // namespace contractor
129+
} // namespace osrm
130130

131131
#endif /* ITERATOR_BASED_CRC32_H */

include/contractor/files.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ inline void writeGraph(const boost::filesystem::path &path,
5252
serialization::write(writer, "/ch/metrics/" + pair.first, pair.second);
5353
}
5454
}
55-
}
56-
}
57-
}
55+
} // namespace files
56+
} // namespace contractor
57+
} // namespace osrm
5858

5959
#endif

include/contractor/query_edge.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct QueryEdge
7777
data.distance == right.data.distance);
7878
}
7979
};
80-
}
81-
}
80+
} // namespace contractor
81+
} // namespace osrm
8282

8383
#endif // QUERYEDGE_HPP

include/contractor/query_graph.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using QueryGraph = util::StaticGraph<typename QueryEdge::EdgeData, Ownership>;
1919

2020
using QueryGraph = detail::QueryGraph<storage::Ownership::Container>;
2121
using QueryGraphView = detail::QueryGraph<storage::Ownership::View>;
22-
}
23-
}
22+
} // namespace contractor
23+
} // namespace osrm
2424

2525
#endif // QUERYEDGE_HPP

0 commit comments

Comments
 (0)