about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorDaniel Schemmel <daniel@schemmel.net>2023-03-24 00:59:02 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2023-04-21 13:07:31 +0100
commit3a8fe1c957b74d087471db3e2fab6cf27acf26d4 (patch)
tree67ed55641e20041961a2a4e235625892e2afaab0 /lib
parent9953e9901ff9cf68e26745c2aa6ef10de610c66d (diff)
downloadklee-3a8fe1c957b74d087471db3e2fab6cf27acf26d4.tar.gz
use unique_ptr in StagedSolverImpl
Diffstat (limited to 'lib')
-rw-r--r--lib/Solver/IncompleteSolver.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Solver/IncompleteSolver.cpp b/lib/Solver/IncompleteSolver.cpp
index 9b57bc6c..a9035eda 100644
--- a/lib/Solver/IncompleteSolver.cpp
+++ b/lib/Solver/IncompleteSolver.cpp
@@ -64,11 +64,6 @@ StagedSolverImpl::StagedSolverImpl(IncompleteSolver *_primary,
     secondary(_secondary) {
 }
 
-StagedSolverImpl::~StagedSolverImpl() {
-  delete primary;
-  delete secondary;
-}
-
 bool StagedSolverImpl::computeTruth(const Query& query, bool &isValid) {
   IncompleteSolver::PartialValidity trueResult = primary->computeTruth(query);