1
0
Fork 0

TraverserOptions now support proper subclassing.

This commit is contained in:
Michael Hackstein 2016-09-15 13:52:49 +02:00
parent a7546b684c
commit b9b7d8d841
1 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ struct TraverserOptions {
public:
enum UniquenessLevel { NONE, PATH, GLOBAL };
private:
protected:
struct LookupInfo {
// This struct does only take responsibility for the expression
@ -93,7 +93,7 @@ struct TraverserOptions {
void buildEngineInfo(arangodb::velocypack::Builder&) const;
};
private:
protected:
arangodb::Transaction* _trx;
std::vector<LookupInfo> _baseLookupInfos;
std::unordered_map<size_t, std::vector<LookupInfo>> _depthLookupInfo;
@ -135,7 +135,7 @@ struct TraverserOptions {
/// After planning this node should not be copied anywhere.
TraverserOptions(TraverserOptions const&);
~TraverserOptions();
virtual ~TraverserOptions();
/// @brief Build a velocypack for cloning in the plan.
void toVelocyPack(arangodb::velocypack::Builder&) const;