diff libinterp/corefcn/oct-procbuf.cc @ 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 bd51beb6205e
children 0a5b15007766
line wrap: on
line diff
--- a/libinterp/corefcn/oct-procbuf.cc	Tue Apr 14 22:53:19 2020 -0400
+++ b/libinterp/corefcn/oct-procbuf.cc	Wed Apr 15 15:55:32 2020 -0400
@@ -93,7 +93,7 @@
   open_p = true;
 
   if (mode & std::ios::out)
-    ::setvbuf (f, 0, _IOLBF, BUFSIZ);
+    ::setvbuf (f, nullptr, _IOLBF, BUFSIZ);
 
   return this;