add c'tor to InputEdge of StaticGraph

This commit is contained in:
Dennis Luxen 2014-07-14 14:49:53 +02:00
parent b1ffcd4350
commit 2b33fcd92d

View File

@ -55,6 +55,7 @@ template <typename EdgeDataT, bool UseSharedMemory = false> class StaticGraph
EdgeDataT data;
NodeIterator source;
NodeIterator target;
InputEdge(NodeIterator source, NodeIterator target, EdgeDataT data) : source(source), target(target), data(data) { }
bool operator<(const InputEdge &right) const
{
if (source != right.source)