mirror of https://gitee.com/bigwinds/arangodb
Removed unnecessary constructors
This commit is contained in:
parent
ff732237fc
commit
201c54e6b0
|
@ -803,24 +803,6 @@ Json* SingleServerTraversalPath::vertexToJson (Transaction* trx,
|
|||
// --SECTION-- class DepthFirstTraverser
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
DepthFirstTraverser::DepthFirstTraverser (
|
||||
TRI_document_collection_t* edgeCollection,
|
||||
TRI_edge_direction_e& direction,
|
||||
uint64_t minDepth,
|
||||
uint64_t maxDepth
|
||||
) : Traverser(), _resolver(nullptr) {
|
||||
_opts.minDepth = minDepth;
|
||||
_opts.maxDepth = maxDepth;
|
||||
_opts.direction = direction;
|
||||
_defInternalFunctions();
|
||||
}
|
||||
|
||||
DepthFirstTraverser::DepthFirstTraverser (
|
||||
std::vector<TRI_document_collection_t*> const& edgeCollections,
|
||||
TraverserOptions& opts
|
||||
) : DepthFirstTraverser(edgeCollections, opts, nullptr, nullptr) {
|
||||
}
|
||||
|
||||
DepthFirstTraverser::DepthFirstTraverser (
|
||||
std::vector<TRI_document_collection_t*> const& edgeCollections,
|
||||
TraverserOptions& opts,
|
||||
|
@ -942,6 +924,9 @@ void DepthFirstTraverser::_defInternalFunctions () {
|
|||
_getEdge(startVertex, edges, last, eColIdx, dir);
|
||||
return;
|
||||
}
|
||||
if (! exp->isEdgeAccess) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
EdgeInfo e(
|
||||
|
|
|
@ -291,18 +291,6 @@ namespace triagens {
|
|||
|
||||
public:
|
||||
|
||||
DepthFirstTraverser (
|
||||
TRI_document_collection_t* edgeCollection,
|
||||
TRI_edge_direction_e& direction,
|
||||
uint64_t minDepth,
|
||||
uint64_t maxDepth
|
||||
);
|
||||
|
||||
DepthFirstTraverser (
|
||||
std::vector<TRI_document_collection_t*> const& edgeCollections,
|
||||
TraverserOptions& _opts
|
||||
);
|
||||
|
||||
DepthFirstTraverser (
|
||||
std::vector<TRI_document_collection_t*> const& edgeCollections,
|
||||
TraverserOptions& _opts,
|
||||
|
|
Loading…
Reference in New Issue