# HG changeset patch # User jwe # Date 1067610635 0 # Node ID 0854429eb0371d447241769d1ee7940f69080fe3 # Parent 88ef6f3701d229f1689a2694a295e01f97294d58 [project @ 2003-10-31 14:30:34 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2003-10-31 John W. Eaton + + * ov-fcn.cc, ov-fcn.h (octave_value::clone, + octave_value::empty_clone): Return type is octave_value*, not + octave_function*. + 2003-10-29 John W. Eaton * ov-str-mat.h (octave_char_matrix_str::reshape): New function. diff --git a/src/ov-fcn.cc b/src/ov-fcn.cc --- a/src/ov-fcn.cc +++ b/src/ov-fcn.cc @@ -34,14 +34,14 @@ DEFINE_OCTAVE_ALLOCATOR (octave_function); -octave_function * +octave_value * octave_function::clone (void) const { panic_impossible (); return 0; } -octave_function * +octave_value * octave_function::empty_clone (void) const { panic_impossible (); diff --git a/src/ov-fcn.h b/src/ov-fcn.h --- a/src/ov-fcn.h +++ b/src/ov-fcn.h @@ -50,8 +50,8 @@ ~octave_function (void) { } - octave_function *clone (void) const; - octave_function *empty_clone (void) const; + octave_value *clone (void) const; + octave_value *empty_clone (void) const; bool is_defined (void) const { return true; }