diff options
author | Frank Busse <bb0xfb@gmail.com> | 2019-05-30 16:00:03 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2019-05-31 12:19:36 +0100 |
commit | ade2bf89486ae2e44571fb547dbc96488fc3dab4 (patch) | |
tree | 1c06431d9c297af2133de127420540c43cf6cd35 /lib/Core/PTree.h | |
parent | 31f965a01fbf7fd6e8590395de2f59d1b224607c (diff) | |
download | klee-ade2bf89486ae2e44571fb547dbc96488fc3dab4.tar.gz |
PTree: fix dump() method
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; }; } |