changeset 4579:0854429eb037

[project @ 2003-10-31 14:30:34 by jwe]
author jwe
date Fri, 31 Oct 2003 14:30:35 +0000
parents 88ef6f3701d2
children cb1b4271643c
files src/ChangeLog src/ov-fcn.cc src/ov-fcn.h
diffstat 3 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Oct 31 14:11:47 2003 +0000
+++ b/src/ChangeLog	Fri Oct 31 14:30:35 2003 +0000
@@ -1,3 +1,9 @@
+2003-10-31  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* 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  <jwe@bevo.che.wisc.edu>
 
 	* ov-str-mat.h (octave_char_matrix_str::reshape): New function.
--- a/src/ov-fcn.cc	Fri Oct 31 14:11:47 2003 +0000
+++ b/src/ov-fcn.cc	Fri Oct 31 14:30:35 2003 +0000
@@ -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 ();
--- a/src/ov-fcn.h	Fri Oct 31 14:11:47 2003 +0000
+++ b/src/ov-fcn.h	Fri Oct 31 14:30:35 2003 +0000
@@ -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; }