mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Use nullptr rather than 0/NULL.
This commit is contained in:
parent
eea9b79035
commit
b83d6d77c9
9 changed files with 30 additions and 30 deletions
|
@ -101,7 +101,7 @@ public:
|
|||
resize_data(0);
|
||||
#if _WINDOWS
|
||||
errno_t err = fopen_s(&m_file, fname, "rb");
|
||||
m_ok = (m_file != NULL) && (err == 0);
|
||||
m_ok = (m_file != nullptr) && (err == 0);
|
||||
#else
|
||||
m_file = fopen(fname, "rb");
|
||||
m_ok = (m_file != nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue