mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Explicit RTreeValue decl because gcc didnt like it implicitly here
This commit is contained in:
parent
17544d4577
commit
0e8f6a32b1
@ -455,8 +455,10 @@ void PathfinderWaypoint::BuildGraph()
|
||||
m_impl->Tree = boost::geometry::index::rtree<RTreeValue, boost::geometry::index::quadratic<16>>();
|
||||
|
||||
for (auto &node : m_impl->Nodes) {
|
||||
Point p = Point(node.v.x, node.v.y, node.v.z);
|
||||
m_impl->Tree.insert(std::make_pair(p, node.id));
|
||||
RTreeValue rtv;
|
||||
rtv.first = Point(node.v.x, node.v.y, node.v.z);
|
||||
rtv.second = node.id;
|
||||
m_impl->Tree.insert(rtv);
|
||||
boost::add_vertex(m_impl->Graph);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user