@@ -145,12 +145,12 @@ ShortestPathNode::ShortestPathNode(
145145 ExecutionPlan* plan, size_t id, TRI_vocbase_t* vocbase,
146146 std::vector<std::unique_ptr<Collection>> const & edgeColls,
147147 std::vector<std::unique_ptr<Collection>> const & vertexColls,
148- TRI_edge_direction_e defaultDirection,
149- std::vector<TRI_edge_direction_e> const & directions, Variable const * inStartVariable ,
150- std::string const & startVertexId, Variable const * inTargetVariable ,
151- std::string const & targetVertexId, std:: unique_ptr<BaseOptions> options)
148+ TRI_edge_direction_e defaultDirection, std::vector<TRI_edge_direction_e> const & directions,
149+ Variable const * inStartVariable, std::string const & startVertexId ,
150+ Variable const * inTargetVariable, std::string const & targetVertexId ,
151+ std::unique_ptr<BaseOptions> options, graph::Graph const * graph )
152152 : GraphNode(plan, id, vocbase, edgeColls, vertexColls, defaultDirection,
153- directions, std::move(options)),
153+ directions, std::move(options), graph ),
154154 _inStartVariable(inStartVariable),
155155 _startVertexId(startVertexId),
156156 _inTargetVariable(inTargetVariable),
@@ -308,10 +308,10 @@ ExecutionNode* ShortestPathNode::clone(ExecutionPlan* plan, bool withDependencie
308308 auto oldOpts = static_cast <ShortestPathOptions*>(options ());
309309 std::unique_ptr<BaseOptions> tmp = std::make_unique<ShortestPathOptions>(*oldOpts);
310310 auto c = std::make_unique<ShortestPathNode>(plan, _id, _vocbase, _edgeColls,
311- _vertexColls, _defaultDirection,
312- _directions, _inStartVariable ,
313- _startVertexId, _inTargetVariable ,
314- _targetVertexId, std::move (tmp));
311+ _vertexColls, _defaultDirection, _directions,
312+ _inStartVariable, _startVertexId ,
313+ _inTargetVariable, _targetVertexId ,
314+ std::move (tmp), _graphObj );
315315 shortestPathCloneHelper (*plan, *c, withProperties);
316316
317317 return cloneHelper (std::move (c), withDependencies, withProperties);
0 commit comments