diff src/ov-usr-fcn.h @ 4645:bd2067547b40

[project @ 2003-11-23 08:07:52 by jwe]
author jwe
date Sun, 23 Nov 2003 08:07:53 +0000
parents f70c9e90ac2d
children a9b22513b7a6
line wrap: on
line diff
--- a/src/ov-usr-fcn.h
+++ b/src/ov-usr-fcn.h
@@ -168,8 +168,6 @@
 
 private:
 
-  octave_user_function (const octave_user_function& m);
-
   // List of arguments for this function.  These are local variables.
   tree_parameter_list *param_list;
 
@@ -256,6 +254,13 @@
   void bind_automatic_vars (const string_vector& arg_names, int nargin,
 			    int nargout, const octave_value_list& va_args);
 
+
+  // No copying!
+
+  octave_user_function (const octave_user_function& fn);
+
+  octave_user_function& operator = (const octave_user_function& fn);
+
   DECLARE_OCTAVE_ALLOCATOR
 
   DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA