diff options
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 6456b57f..01632ebf 100644 --- a/lib/Core/PTree.h +++ b/lib/Core/PTree.h @@ -18,8 +18,8 @@ namespace klee { class PTreeNode { public: PTreeNode *parent = nullptr; - PTreeNode *left = nullptr; - PTreeNode *right = nullptr; + std::unique_ptr<PTreeNode> left; + std::unique_ptr<PTreeNode> right; ExecutionState *state = nullptr; PTreeNode(const PTreeNode&) = delete; @@ -29,7 +29,7 @@ namespace klee { class PTree { public: - PTreeNode * root = nullptr; + std::unique_ptr<PTreeNode> root; explicit PTree(ExecutionState *initialState); ~PTree() = default; |
