3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 16:52:15 +00:00

Use nullptr.

This commit is contained in:
Bruce Mitchener 2018-02-12 14:05:55 +07:00
parent f01328c65f
commit 76eb7b9ede
625 changed files with 4639 additions and 4639 deletions

View file

@ -27,8 +27,8 @@ Revision History:
#include "util/event_handler.h"
#include "util/scoped_timer.h"
scoped_timer * g_timeout = 0;
void (* g_on_timeout)() = 0;
scoped_timer * g_timeout = nullptr;
void (* g_on_timeout)() = nullptr;
class g_timeout_eh : public event_handler {
public:
@ -41,7 +41,7 @@ public:
g_on_timeout();
if (g_timeout)
delete g_timeout;
g_timeout = 0;
g_timeout = nullptr;
throw z3_error(ERR_TIMEOUT);
}
}