diff libinterp/octave-value/ov-cell.cc @ 23589:63950abd2f81

maint: Deprecate is_null_type and replace with isnull. * ov.h (is_null_type): Use OCTAVE_DEPRECATED macro around function. * ov.h (isnull): New function. * ov-base.h, ov-cell.cc, ov-null-mat.cc, ov-null-mat.h, ov-struct.cc, ov.cc: Replace instances of is_null_type with isnull.
author Rik <rik@octave.org>
date Tue, 13 Jun 2017 13:05:19 -0700
parents 0549061d35b9
children 980f39c3ab90
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cell.cc	Tue Jun 13 12:43:42 2017 -0700
+++ b/libinterp/octave-value/ov-cell.cc	Tue Jun 13 13:05:19 2017 -0700
@@ -334,7 +334,7 @@
 
         if (t_rhs.iscell ())
           octave_base_matrix<Cell>::assign (i, t_rhs.cell_value ());
-        else if (t_rhs.is_null_value ())
+        else if (t_rhs.isnull ())
           octave_base_matrix<Cell>::delete_elements (i);
         else
           octave_base_matrix<Cell>::assign (i, Cell (t_rhs));