add initialization to QueryEdge::EdgeData

This commit is contained in:
Dennis Luxen 2014-07-16 09:44:09 +02:00
parent 1188002bcb
commit 7110acc94f

View File

@ -36,7 +36,7 @@ struct QueryEdge
NodeID target;
struct EdgeData
{
EdgeData() {}
EdgeData() : id(0), shortcut(false), distance(0), forward(false), backward(false) {}
template <class OtherT> EdgeData(const OtherT &other)
{