Mercurial > octave
diff src/shared-fcns.h @ 28223:45763d59cb4f stable
use nullptr instead of NULL or 0 in a few more places
* QWinTerminalImpl.cpp, oct-procbuf.cc, audioread.cc, jit-typeinfo.cc,
lo-sysdep.cc, url-transfer.cc, shared-fcns.h: Replace NULL and 0 with
nullptr where appropriate.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 15 Apr 2020 15:55:32 -0400 |
parents | c20b7290c778 |
children | 0a5b15007766 |
line wrap: on
line diff
--- a/src/shared-fcns.h Tue Apr 14 22:53:19 2020 -0400 +++ b/src/shared-fcns.h Wed Apr 15 15:55:32 2020 -0400 @@ -50,7 +50,7 @@ std::string bin_dir; char namebuf[MAX_PATH+1]; - if (GetModuleFileName (GetModuleHandle (NULL), namebuf, MAX_PATH)) + if (GetModuleFileName (GetModuleHandle (nullptr), namebuf, MAX_PATH)) { namebuf[MAX_PATH] = '\0';