mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 12:53:38 +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
|
@ -88,7 +88,7 @@ void format2ostream(std::ostream & out, char const* msg, va_list args) {
|
|||
#ifdef _WINDOWS
|
||||
size_t msg_len = _vscprintf(msg, args_copy);
|
||||
#else
|
||||
size_t msg_len = vsnprintf(NULL, 0, msg, args_copy);
|
||||
size_t msg_len = vsnprintf(nullptr, 0, msg, args_copy);
|
||||
#endif
|
||||
va_end(args_copy);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue