diff options
Diffstat (limited to 'lib/Core/PTree.h')
-rw-r--r-- | lib/Core/PTree.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Core/PTree.h b/lib/Core/PTree.h index 11d3f48c..faa65d85 100644 --- a/lib/Core/PTree.h +++ b/lib/Core/PTree.h @@ -22,8 +22,8 @@ namespace klee { typedef class PTreeNode Node; Node *root; - PTree(const data_type &_root); - ~PTree(); + explicit PTree(const data_type &_root); + ~PTree() = default; std::pair<Node*,Node*> split(Node *n, const data_type &leftData, @@ -36,13 +36,14 @@ namespace klee { class PTreeNode { friend class PTree; public: - PTreeNode *parent, *left, *right; - ExecutionState *data; - ref<Expr> condition; + PTreeNode *parent = nullptr; + PTreeNode *left = nullptr; + PTreeNode *right = nullptr; + ExecutionState *data = nullptr; private: - PTreeNode(PTreeNode *_parent, ExecutionState *_data); - ~PTreeNode(); + PTreeNode(PTreeNode * parent, ExecutionState * data); + ~PTreeNode() = default; }; } |