Skip to content

Commit 1ba8aba

Browse files
nspforeverGuannan Du
andauthored
Fix Issue#5864 build errors on mac OS (#5865)
* Fix Issue#5864 build errors on mac OS Co-authored-by: Guannan Du <[email protected]>
1 parent 9f80f6d commit 1ba8aba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/guidance/segregated_intersection_classification.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ std::unordered_set<EdgeID> findSegregatedNodes(const extractor::NodeBasedGraphFa
226226
auto const collect_edge_info_fn = [&](auto const &edges1, NodeID node2) {
227227
std::vector<EdgeInfo> info;
228228

229-
for (auto const &e : edges1)
229+
for (auto e : edges1)
230230
{
231231
NodeID const target = graph.GetTarget(e);
232232
if (target == node2)

src/util/timezones.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ boost::optional<struct tm> Timezoner::operator()(const point_t &point) const
154154
{
155155
std::vector<rtree_t::value_type> result;
156156
rtree.query(boost::geometry::index::intersects(point), std::back_inserter(result));
157-
for (const auto v : result)
157+
for (const auto &v : result)
158158
{
159159
const auto index = v.second;
160160
if (boost::geometry::within(point, local_times[index].first))

0 commit comments

Comments
 (0)