add initialization to QueryEdge::EdgeData
This commit is contained in:
parent
1188002bcb
commit
7110acc94f
@ -36,7 +36,7 @@ struct QueryEdge
|
|||||||
NodeID target;
|
NodeID target;
|
||||||
struct EdgeData
|
struct EdgeData
|
||||||
{
|
{
|
||||||
EdgeData() {}
|
EdgeData() : id(0), shortcut(false), distance(0), forward(false), backward(false) {}
|
||||||
|
|
||||||
template <class OtherT> EdgeData(const OtherT &other)
|
template <class OtherT> EdgeData(const OtherT &other)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user