diff options
Diffstat (limited to 'src/main/driver_unified.cpp')
-rw-r--r-- | src/main/driver_unified.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp index c29212c4f..390d83eba 100644 --- a/src/main/driver_unified.cpp +++ b/src/main/driver_unified.cpp @@ -233,12 +233,12 @@ int runCvc4(int argc, char* argv[], Options& opts) { // pick appropriate one if (useParallelExecutor) { - solver.reset(&threadOpts[0]); + solver.reset(new api::Solver(&threadOpts[0])); pExecutor = new CommandExecutorPortfolio(solver.get(), opts, threadOpts); } else { - solver.reset(&opts); + solver.reset(new api::Solver(&opts)); pExecutor = new CommandExecutor(solver.get(), opts); } # endif |