# HG changeset patch # User jwe # Date 1067610885 0 # Node ID cb1b4271643c9465318329e1344dc509ea693306 # Parent 0854429eb0371d447241769d1ee7940f69080fe3 [project @ 2003-10-31 14:34:45 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ 2003-10-31 John W. Eaton + * ov-base.cc (octave_base_value::bool_array_value): + Function takes no args. + * ov-base.h: Likewise, for decl. + * ov-bool-mat.h (boolNDArray::bool_array_value): Likewise. + * ov-fcn.cc, ov-fcn.h (octave_value::clone, octave_value::empty_clone): Return type is octave_value*, not octave_function*. diff --git a/src/ov-base.cc b/src/ov-base.cc --- a/src/ov-base.cc +++ b/src/ov-base.cc @@ -359,7 +359,7 @@ } boolNDArray -octave_base_value::bool_array_value (bool) const +octave_base_value::bool_array_value (void) const { boolNDArray retval; gripe_wrong_type_arg ("octave_base_value::bool_array_value()", diff --git a/src/ov-base.h b/src/ov-base.h --- a/src/ov-base.h +++ b/src/ov-base.h @@ -200,7 +200,7 @@ boolMatrix bool_matrix_value (void) const; - boolNDArray bool_array_value (bool = false) const; + boolNDArray bool_array_value (void) const; charMatrix char_matrix_value (bool = false) const; diff --git a/src/ov-bool-mat.h b/src/ov-bool-mat.h --- a/src/ov-bool-mat.h +++ b/src/ov-bool-mat.h @@ -110,7 +110,7 @@ boolMatrix bool_matrix_value (void) const { return matrix.matrix_value (); } - boolNDArray bool_array_value (bool = false) const + boolNDArray bool_array_value (void) const { return matrix; } octave_value convert_to_str_internal (bool pad, bool force) const;