PathVertex missing init for null path
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
2e9e3ca7e3
commit
561a89ce1d
|
|
@ -81,6 +81,8 @@ PathVertex::PathVertex(const PathVertexRep *path,
|
||||||
{
|
{
|
||||||
if (path)
|
if (path)
|
||||||
init(path->vertex(sta), path->tag(sta), sta);
|
init(path->vertex(sta), path->tag(sta), sta);
|
||||||
|
else
|
||||||
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
PathVertex::PathVertex(const PathVertexRep &path,
|
PathVertex::PathVertex(const PathVertexRep &path,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue