diff oct-py-util.cc @ 403:3644df6564bc

maint: use C++11 nullptr rather than 0 or NULL * __py_struct_from_dict__.cc, oct-py-eval.cc, oct-py-eval.h, oct-py-object.h, oct-py-types.cc, oct-py-util.cc, pycall.cc, pyeval.cc, pyexec.cc: Use C++11 nullptr rather than 0 or NULL.
author Mike Miller <mtmiller@octave.org>
date Fri, 28 Apr 2017 14:19:49 -0700
parents c4b78e449c62
children 9bf8ba050122
line wrap: on
line diff
--- a/oct-py-util.cc	Fri Apr 28 14:07:57 2017 -0700
+++ b/oct-py-util.cc	Fri Apr 28 14:19:49 2017 -0700
@@ -151,7 +151,7 @@
   }
 
   // FIXME: could make this into a class/singleton wrapper a la Octave core
-  PyObject *objstore = 0;
+  PyObject *objstore = nullptr;
 
   inline PyObject *
   py_objstore ()