# HG changeset patch # User jwe # Date 1152968443 0 # Node ID 078f5b203e92d303e7224dd05492f495ee47af56 # Parent 221611b173e8da49b3d042227b16907a598f8011 [project @ 2006-07-15 13:00:42 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2006-07-15 John W. Eaton + * oct-errno.cc.in (octave_errno::octave_errno): VALUE field in + errno_struct no longer const. + * DLD-FUNCTIONS/dispatch.cc (octave_dispatch::do_index_op): Declare resize_ok arg as bool, not int. Provide default value for resize_ok. diff --git a/src/oct-errno.cc.in b/src/oct-errno.cc.in --- a/src/oct-errno.cc.in +++ b/src/oct-errno.cc.in @@ -39,7 +39,7 @@ struct errno_struct { const char *name; - const int value; + int value; }; static errno_struct errno_codes[] = diff --git a/src/ov-str-mat.h b/src/ov-str-mat.h --- a/src/ov-str-mat.h +++ b/src/ov-str-mat.h @@ -207,7 +207,7 @@ octave_value permute (const Array& vec, bool inv = false) const { return octave_value (charNDArray (matrix.permute (vec, inv)), true, '\''); } - octave_value resize (const dim_vector& dv, bool fill = false) const + octave_value resize (const dim_vector& dv, bool = false) const { charNDArray retval (matrix); retval.resize (dv);