diff src/ov-fcn-inline.h @ 4967:0355f2f7d193

[project @ 2004-09-07 15:09:14 by jwe]
author jwe
date Tue, 07 Sep 2004 15:09:14 +0000
parents ed0f3cb6d3d4
children 724675f7f7cb
line wrap: on
line diff
--- a/src/ov-fcn-inline.h	Tue Sep 07 02:01:22 2004 +0000
+++ b/src/ov-fcn-inline.h	Tue Sep 07 15:09:14 2004 +0000
@@ -50,13 +50,19 @@
 public:
 
   octave_fcn_inline (void)
-    : octave_fcn_handle(), iftext (), ifargs () { }
+    : octave_fcn_handle (), iftext (), ifargs () { }
 
   octave_fcn_inline (const std::string& f, const string_vector& a, 
 		     const std::string& n = std::string ());
 
+  octave_fcn_inline (const octave_fcn_inline& fi)
+    : octave_fcn_handle (fi), iftext (fi.iftext), ifargs (fi.ifargs) { }
+
   ~octave_fcn_inline (void) { }
 
+  octave_value *clone (void) const { return new octave_fcn_inline (*this); }
+  octave_value *empty_clone (void) const { return new octave_fcn_inline (); }
+
   bool is_inline_function (void) const { return true; }
 
   octave_fcn_inline *fcn_inline_value (bool = false) { return this; }
@@ -73,12 +79,6 @@
 
 private:
 
-  // No copying!
-
-  octave_fcn_inline (const octave_fcn_inline& fh);
-
-  octave_fcn_inline& operator = (const octave_fcn_inline& fh);
-
   DECLARE_OCTAVE_ALLOCATOR
 
   DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA