diff options
author | Timotej Kapus <tk1713@ic.ac.uk> | 2019-10-24 15:38:08 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-06-29 22:24:53 +0100 |
commit | 9c50be98c0b291bdde94cf870316569f8eab5917 (patch) | |
tree | 5b3d78fae6f3490fd88d4f478fd38ab032f975f1 /lib/Core/PTree.h | |
parent | 67ea19efc36bbf8885f32e85d11f920342a7949c (diff) | |
download | klee-9c50be98c0b291bdde94cf870316569f8eab5917.tar.gz |
Revert "refactor PTree: use unique_ptr"
This reverts commit 0aed7731210d0eb41c0ea767edb8067130cf6252.
Diffstat (limited to 'lib/Core/PTree.h')
-rw-r--r-- | lib/Core/PTree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Core/PTree.h b/lib/Core/PTree.h index 01632ebf..6456b57f 100644 --- a/lib/Core/PTree.h +++ b/lib/Core/PTree.h @@ -18,8 +18,8 @@ namespace klee { class PTreeNode { public: PTreeNode *parent = nullptr; - std::unique_ptr<PTreeNode> left; - std::unique_ptr<PTreeNode> right; + PTreeNode *left = nullptr; + PTreeNode *right = nullptr; ExecutionState *state = nullptr; PTreeNode(const PTreeNode&) = delete; @@ -29,7 +29,7 @@ namespace klee { class PTree { public: - std::unique_ptr<PTreeNode> root; + PTreeNode * root = nullptr; explicit PTree(ExecutionState *initialState); ~PTree() = default; |