mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
Use nullptr.
This commit is contained in:
parent
f01328c65f
commit
76eb7b9ede
625 changed files with 4639 additions and 4639 deletions
|
@ -26,7 +26,7 @@ Revision History:
|
|||
#include "util/gparams.h"
|
||||
|
||||
extern bool g_display_statistics;
|
||||
static sat::solver * g_solver = 0;
|
||||
static sat::solver * g_solver = nullptr;
|
||||
static clock_t g_start_time;
|
||||
|
||||
static void display_statistics() {
|
||||
|
@ -134,7 +134,7 @@ unsigned read_dimacs(char const * file_name) {
|
|||
params_ref p = gparams::get_module("sat");
|
||||
p.set_bool("produce_models", true);
|
||||
reslimit limit;
|
||||
sat::solver solver(p, limit, 0);
|
||||
sat::solver solver(p, limit, nullptr);
|
||||
g_solver = &solver;
|
||||
|
||||
if (file_name) {
|
||||
|
@ -152,7 +152,7 @@ unsigned read_dimacs(char const * file_name) {
|
|||
|
||||
lbool r;
|
||||
vector<sat::literal_vector> tracking_clauses;
|
||||
sat::solver solver2(p, limit, 0);
|
||||
sat::solver solver2(p, limit, nullptr);
|
||||
if (p.get_bool("dimacs.core", false)) {
|
||||
g_solver = &solver2;
|
||||
sat::literal_vector assumptions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue