add c'tor to InputEdge of StaticGraph
This commit is contained in:
parent
b1ffcd4350
commit
2b33fcd92d
@ -55,6 +55,7 @@ template <typename EdgeDataT, bool UseSharedMemory = false> class StaticGraph
|
|||||||
EdgeDataT data;
|
EdgeDataT data;
|
||||||
NodeIterator source;
|
NodeIterator source;
|
||||||
NodeIterator target;
|
NodeIterator target;
|
||||||
|
InputEdge(NodeIterator source, NodeIterator target, EdgeDataT data) : source(source), target(target), data(data) { }
|
||||||
bool operator<(const InputEdge &right) const
|
bool operator<(const InputEdge &right) const
|
||||||
{
|
{
|
||||||
if (source != right.source)
|
if (source != right.source)
|
||||||
|
Loading…
Reference in New Issue
Block a user