diff src/ov.cc @ 4342:813effe14ee1

[project @ 2003-02-20 08:35:55 by jwe]
author jwe
date Thu, 20 Feb 2003 08:35:55 +0000
parents 8724cf60d51d
children db5e0814277a
line wrap: on
line diff
--- a/src/ov.cc	Thu Feb 20 04:49:55 2003 +0000
+++ b/src/ov.cc	Thu Feb 20 08:35:55 2003 +0000
@@ -54,6 +54,7 @@
 #include "ov-builtin.h"
 #include "ov-mapper.h"
 #include "ov-usr-fcn.h"
+#include "ov-fcn-handle.h"
 #include "ov-typeinfo.h"
 
 #include "defun.h"
@@ -549,6 +550,12 @@
   rep->count = 1;
 }
 
+octave_value::octave_value (const octave_fcn_handle& fh)
+  : rep (new octave_fcn_handle (fh))
+{
+  rep->count = 1;
+}
+
 octave_value::octave_value (const octave_value_list& l, bool is_cs_list)
   : rep (0)
 {