Fix Issue#5864 build errors on mac OS (#5865)
* Fix Issue#5864 build errors on mac OS Co-authored-by: Guannan Du <guannan.du@Guannans-MacBook-Pro-2.local>
This commit is contained in:
parent
9f80f6d64d
commit
1ba8aba466
@ -226,7 +226,7 @@ std::unordered_set<EdgeID> findSegregatedNodes(const extractor::NodeBasedGraphFa
|
|||||||
auto const collect_edge_info_fn = [&](auto const &edges1, NodeID node2) {
|
auto const collect_edge_info_fn = [&](auto const &edges1, NodeID node2) {
|
||||||
std::vector<EdgeInfo> info;
|
std::vector<EdgeInfo> info;
|
||||||
|
|
||||||
for (auto const &e : edges1)
|
for (auto e : edges1)
|
||||||
{
|
{
|
||||||
NodeID const target = graph.GetTarget(e);
|
NodeID const target = graph.GetTarget(e);
|
||||||
if (target == node2)
|
if (target == node2)
|
||||||
|
@ -154,7 +154,7 @@ boost::optional<struct tm> Timezoner::operator()(const point_t &point) const
|
|||||||
{
|
{
|
||||||
std::vector<rtree_t::value_type> result;
|
std::vector<rtree_t::value_type> result;
|
||||||
rtree.query(boost::geometry::index::intersects(point), std::back_inserter(result));
|
rtree.query(boost::geometry::index::intersects(point), std::back_inserter(result));
|
||||||
for (const auto v : result)
|
for (const auto &v : result)
|
||||||
{
|
{
|
||||||
const auto index = v.second;
|
const auto index = v.second;
|
||||||
if (boost::geometry::within(point, local_times[index].first))
|
if (boost::geometry::within(point, local_times[index].first))
|
||||||
|
Loading…
Reference in New Issue
Block a user