diff src/ov.h @ 10614:d1194069e58c

optimize code handling ++,--
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 08 May 2010 15:15:22 +0200
parents 9961fc022d9d
children 654fbde5dceb
line wrap: on
line diff
--- a/src/ov.h	Fri May 07 15:58:51 2010 -0400
+++ b/src/ov.h	Sat May 08 15:15:22 2010 +0200
@@ -984,11 +984,9 @@
   friend OCTINTERP_API octave_value do_unary_op (unary_op op,
                                    const octave_value& a);
 
-  const octave_value& do_non_const_unary_op (unary_op op);
+  octave_value& do_non_const_unary_op (unary_op op);
 
-  void do_non_const_unary_op (unary_op op, const octave_value_list& idx);
-
-  octave_value do_non_const_unary_op (unary_op op, const std::string& type,
+  octave_value& do_non_const_unary_op (unary_op op, const std::string& type,
                                       const std::list<octave_value_list>& idx);
 
   friend OCTINTERP_API octave_value do_binary_op (binary_op op,