1
0
Fork 0

Removed unnecessary constructors

This commit is contained in:
Michael Hackstein 2015-11-18 15:32:04 +01:00
parent ff732237fc
commit 201c54e6b0
2 changed files with 3 additions and 30 deletions

View File

@ -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(

View File

@ -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,